jdkilby / MazeGeneration / 0.1.0


This is an implementation of Eller's Algorithm (http://www.neocomputer.org/projects/eller.html) for generating a square or rectangular 2D maze. It takes two integers - one for width and one for height - and returns a two-dimensional array of cells indexed by [column][row]. Each cell is in turn an array of four boolean values that, when true, indicates a wall. This array is indexed as follows: [north wall, east wall, south wall, west wall].