/maze

Java library for maze generation

Primary LanguageJavaApache License 2.0Apache-2.0

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