Lazarus Mazes demo: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Lazarus Mazes demo
| Old | New | Line | |
|---|---|---|---|
| 1 | + | ## About | |
| 2 | + | ||
| 3 | + | The [Lazarus Mazes](https://github.com/eny-fpc/lazes) program illustrated below is a demonstration of how you can use Lazarus to create a maze. The maze generation is based on a [depth-first backtracking](http://en.wikipedia.org/wiki/Maze_generation_algorithm#Depth-first_search) algorithm. As a bonus, a simple maze solver is also implemented that shows a route from the start of the maze to the exit. | |
| 4 | + | ||
| 5 | + | Changing maze metrics: | |
| 6 | + | ||
| 7 | + | <figure> | |
| 8 | + | <img src="mazedemo1.png" title="mazedemo1.png" /> | |
| 9 | + | <figcaption>mazedemo1.png</figcaption> | |
| 10 | + | </figure> | |
| 11 | + | ||
| 12 | + | The solver in action: | |
| 13 | + | ||
| 14 | + | <figure> | |
| 15 | + | <img src="mazedemo2.png" title="mazedemo2.png" /> | |
| 16 | + | <figcaption>mazedemo2.png</figcaption> | |
| 17 | + | </figure> | |
| 18 | + | ||
| 19 | + | ## Download | |
| 20 | + | ||
| 21 | + | The demo program can be downloaded from [github](https://github.com/eny-fpc/lazes). | |
| 22 | + | ||
| 23 | + | --- | |
| 24 | + | *From the Free Pascal wiki, page "Lazarus Mazes demo", as it stood on 2020-08-10 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 25 | + | Category: Example programs | |
| 26 | + | Category: Games | |
| 27 | + | Category: Lazarus |
