Mercurial > public > maze-solver
annotate README.md @ 9:22cf01362b45
modify readme
author | Dennis <denniscmartin@protonmail.com> |
---|---|
date | Sun, 30 Oct 2022 17:03:24 +0100 |
parents | deeb54b231aa |
children | e3addd013d36 |
rev | line source |
---|---|
1
edee16cfda92
algo working but inefficient
Dennis <denniscmartin@protonmail.com>
parents:
0
diff
changeset
|
1 # maze-solver |
edee16cfda92
algo working but inefficient
Dennis <denniscmartin@protonmail.com>
parents:
0
diff
changeset
|
2 |
edee16cfda92
algo working but inefficient
Dennis <denniscmartin@protonmail.com>
parents:
0
diff
changeset
|
3 A maze solver written in C. |
edee16cfda92
algo working but inefficient
Dennis <denniscmartin@protonmail.com>
parents:
0
diff
changeset
|
4 |
4 | 5 ## Constraints |
6 - Only PNG files | |
7 - Mazes must be square | |
8 - Walls must be black `rgb(0, 0, 0)` and path white `rgb(255, 255, 255)` | |
9 - Walls and path must be 1 px width | |
10 - The starting point must be at `(x: 0, y: 1)` | |
11 - The ending point must be at `(x: width, y: height - 1)` | |
12 | |
13 ## Usage | |
14 | |
15 1. Build executable | |
9 | 16 2. Make a folder names `mazes` and place your mazes there. |
17 3. Make a folder named `sols`. The script place the solutions here. | |
4 | 18 |
8 | 19  |
20  | |
7 | 21 |
1
edee16cfda92
algo working but inefficient
Dennis <denniscmartin@protonmail.com>
parents:
0
diff
changeset
|
22 ## Resources |
5
3d6399799527
add maze generator link
Dennis <denniscmartin@protonmail.com>
parents:
4
diff
changeset
|
23 - [Maze generator](https://keesiemeijer.github.io/maze-generator/#generate) |
1
edee16cfda92
algo working but inefficient
Dennis <denniscmartin@protonmail.com>
parents:
0
diff
changeset
|
24 - [Libpng example](http://zarb.org/~gc/html/libpng.html) |
edee16cfda92
algo working but inefficient
Dennis <denniscmartin@protonmail.com>
parents:
0
diff
changeset
|
25 - [Libpng manual](http://www.libpng.org/pub/png/libpng-1.2.5-manual.html) |
4 | 26 - [Inspired by Dr Mike Pound (Computerphile video)](https://www.youtube.com/watch?v=rop0W4QDOUI) |