/maze

Depth-first maze generation

Primary LanguageRuby

Maze Build Status

Inspired by Jack Danger. This is a depth-first maze generation library that was not written on an airplane.

Usage

To generate a maze of width 30 and height 20

ruby maze.rb 30 20 > maze.html && open maze.html

Output

Maze Output