Difference between revisions of "Lazarus Mazes demo"

From Lazarus wiki
Jump to navigationJump to search
m (Fix the download/location link)
m (Fix wiki markup; add categories)
 
Line 1: Line 1:
 
== About ==
 
== 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[http://en.wikipedia.org/wiki/Maze_generation_algorithm#Depth-first_search]. As a little bonus a simple solver is implemented that shows a route from the start of the maze to the exit.
+
 
 +
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:

mazedemo1.png

The solver in action:

mazedemo2.png

Download

The demo program can be downloaded from github.