Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 701 Bytes

README.md

File metadata and controls

25 lines (23 loc) · 701 Bytes

Maze generator in Lua

An experiment in Lua - generating a maze.

Example execution:

$ lua maze.lua
+---------------++---------------+
                ||              ||
+----+  +----+  ++  +----+  ++  ||
||          ||      ||  ||  ||  ||
||  +----+  |+------+|  ++  ||  ||
||      ||  ||      ||      ||  ||
|+-------+  ||  ++  +---++---+  ||
||          ||  ||      ||      ||
||  +-------++--++---+  ||  ++  ||
||  ||                  ||  ||  ||
||  ||  +----+  +-------+|  +---+|
||  ||      ||          ||      ||
||  +----+  +-----------++---+  ||
||      ||                  ||  ||
||  ++  +----------------+  ||  ++
||  ||                      ||
+---++----------------------++---+