Difference between revisions of "Lazarus Mazes demo"
From Lazarus wiki
Jump to navigationJump to searchm (Fix the download/location link) |
m (Fix wiki markup; add categories) |
||
Line 1: | Line 1: | ||
== About == | == About == | ||
− | The program below | + | |
+ | The [https://github.com/eny-fpc/lazes Lazarus Mazes] program illustrated below is a demonstration of how you can use Lazarus to create a maze. The maze generation is based on a [http://en.wikipedia.org/wiki/Maze_generation_algorithm#Depth-first_search depth-first backtracking] algorithm. As a bonus, a simple maze solver is also implemented that shows a route from the start of the maze to the exit. | ||
Changing maze metrics: | Changing maze metrics: | ||
[[Image:mazedemo1.png]] | [[Image:mazedemo1.png]] | ||
− | |||
The solver in action: | The solver in action: | ||
Line 12: | Line 12: | ||
== Download == | == Download == | ||
+ | |||
The demo program can be downloaded from [https://github.com/eny-fpc/lazes github]. | The demo program can be downloaded from [https://github.com/eny-fpc/lazes github]. | ||
+ | [[Category:Lazarus]] | ||
+ | [[Category:Games]] | ||
[[Category:Example programs]] | [[Category:Example programs]] |
Latest revision as of 03:50, 10 August 2020
About
The Lazarus Mazes 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 algorithm. As a bonus, a simple maze solver is also implemented that shows a route from the start of the maze to the exit.
Changing maze metrics:
The solver in action:
Download
The demo program can be downloaded from github.