Mercurial > public > maze-solver
comparison DOCS.md @ 13:f05cad159c7b
Change info files
author | Dennis <dennis@denniscm.com> |
---|---|
date | Fri, 11 Aug 2023 18:08:52 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
12:d1fc48c5de99 | 13:f05cad159c7b |
---|---|
1 | |
2 # Table of Contents | |
3 | |
4 1. [Constraints](#org007cf9f) | |
5 2. [Usage](#org77279b7) | |
6 | |
7 | |
8 <a id="org007cf9f"></a> | |
9 | |
10 # Constraints | |
11 | |
12 - Only PNG files | |
13 - Mazes should be square | |
14 - Walls should be black `rgb(0, 0, 0)` and path white `rg(255, 255, 255)` | |
15 - Walls and path should be `1px` width | |
16 - The starting point must be at `(x: 0, y: 1)` | |
17 - The ending point should be at `(x: width, y: height - 1)` | |
18 | |
19 | |
20 <a id="org77279b7"></a> | |
21 | |
22 # Usage | |
23 | |
24 - Build executable | |
25 - Make a folder named `mazes` and place your mazes there | |
26 - Make a folder named `sols`. The script place the solutions here | |
27 - Run the program `./maze_solver maze1.png` | |
28 |