Skip to content

js42721/maze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maze

A small Java library for generating 2D orthogonal "perfect" mazes.

The following maze generation algorithms are included:

Also included is a wrapper class that provides a tile-centric interface, in case you want to treat a maze as a grid of tiles rather than a collection of lines.

A maze generated using recursive backtracking:

Screenshot

A tile maze generated using Wilson's algorithm:

Screenshot