maze

Search:
Group by:

maze is a module to generate maze. You can select algorithm to generate maze.

pole down algorithm

Examples:

import
  maze

## width and height must be odd.
var m = newMazeByPoleDown(19, 19)
echo m.format(" ", "#")

digging algorithm

Examples:

import
  maze

var m = newMazeByDigging(20, 20)
echo m.format(" ", "#")