Difference between revisions of "Lazarus Mazes demo"

From Free Pascal wiki
Jump to navigationJump to search
(Screen shots added)
m (Add link to download location)
Line 10: Line 10:
  
 
[[Image:mazedemo2.png]]
 
[[Image:mazedemo2.png]]
 +
 +
== Download ==
 +
The demo program can be downloaded here http://www.xs4all.nl/klant/~galand/lazarus/lazes-lazarusmazesv0.1.zip.
 +
 +
[[Category:Example programs]]

Revision as of 15:49, 18 November 2012

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 here http://www.xs4all.nl/klant/~galand/lazarus/lazes-lazarusmazesv0.1.zip.