Difference between revisions of "Lazarus Mazes demo"

From Free Pascal wiki
Jump to navigationJump to search
m (Add link to download location)
m (Fix the download/location link)
Line 12: Line 12:
  
 
== Download ==
 
== Download ==
The demo program can be downloaded here http://www.xs4all.nl/klant/~galand/lazarus/lazes-lazarusmazesv0.1.zip.
+
The demo program can be downloaded from [https://github.com/eny-fpc/lazes github].
  
 
[[Category:Example programs]]
 
[[Category:Example programs]]

Revision as of 15:57, 30 December 2016

About

The program below gives a demonstration of how a maze can be created with Lazarus. The maze generation is based on a depth-first backtracking implementation[1]. As a little bonus a simple solver is implemented that shows a route from the start of the maze to the exit.

Changing maze metrics:

mazedemo1.png


The solver in action:

mazedemo2.png

Download

The demo program can be downloaded from github.