Mercurial > public > maze-solver
view DOCS.md @ 14:06050949285b
Update README.md
committer: GitHub <noreply@github.com>
author | Dennis <dennisconcepcionmartin@gmail.com> |
---|---|
date | Tue, 12 Dec 2023 09:00:19 +0000 |
parents | f05cad159c7b |
children |
line wrap: on
line source
# Table of Contents 1. [Constraints](#org007cf9f) 2. [Usage](#org77279b7) <a id="org007cf9f"></a> # Constraints - Only PNG files - Mazes should be square - Walls should be black `rgb(0, 0, 0)` and path white `rg(255, 255, 255)` - Walls and path should be `1px` width - The starting point must be at `(x: 0, y: 1)` - The ending point should be at `(x: width, y: height - 1)` <a id="org77279b7"></a> # Usage - Build executable - Make a folder named `mazes` and place your mazes there - Make a folder named `sols`. The script place the solutions here - Run the program `./maze_solver maze1.png`