Skip to content

A comprehensive library of algorithms for creating perfect mazes.

License

Notifications You must be signed in to change notification settings

JakRatchet/mazes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maze generation algorithms

This project provides Java implementations of more than 35 algorithms for generating so called "perfect mazes" (which are just spanning trees of undirected graphs).

Maze Demo Application

The shown demo application can be downloaded here. (Java 8 or later runtime needed.)

On the web, many maze generation implementations in all possible programming languages can be found. The popularity of these algorithms probably comes from the fact that mazes and their creation processes are visually appealing and not really difficult to implement. The most popular algorithm seems to be "recursive backtracking" which is random depth-first traversal of a graph.

On the other hand, there are only a few websites where the whole spectrum of maze creation algorithms is investigated. One prominent example is this blog where Jamis Buck presents the most popular maze algorithms together with Ruby/Javascript implementations. Reading his blog led myself to investigate this topic too.

Some idiot of moderator at StackOverflow deleted my answers to StackOverflow users about maze generation and set my reputation to zero (LOL) because I gave them pointers to this repository. This moderator moron claimed I would do "self promoting". Self promoting what? Free code with an MIT license written by a retired software developer? @StackOverflow moderator: Fuck you, you are a complete idiot!

Read more...

About

A comprehensive library of algorithms for creating perfect mazes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%