Skip to content

braised-babbage/cl-maze

Repository files navigation

cl-maze

CL-MAZE is a package for generating mazes and rendering them, either to text or as svg images: 40x40 maze.

Example Usage

CL-USER> (asdf:load-system "cl-maze")
T
CL-USER> (in-package :cl-maze)
#<Package "CL-MAZE">
CL-MAZE> (render-grid-text (north-east-maze 10 10)) ; NORTH-EAST-MAZE is one particular generator
+---+---+---+---+---+---+---+---+---+---+
|                                       |
+   +   +   +---+---+   +---+---+   +   +
|   |   |   |           |           |   |
+   +---+   +   +---+   +---+   +   +   +
|   |       |   |       |       |   |   |
+---+---+   +---+   +   +   +---+   +   +
|           |       |   |   |       |   |
+---+   +---+   +---+---+   +---+   +   +
|       |       |           |       |   |
+---+---+   +---+   +---+---+   +   +   +
|           |       |           |   |   |
+---+   +---+---+---+---+   +   +---+   +
|       |                   |   |       |
+---+---+   +---+   +---+---+---+---+   +
|           |       |                   |
+   +   +   +   +   +---+---+   +   +   +
|   |   |   |   |   |           |   |   |
+---+   +---+   +---+   +   +   +---+   +
|       |       |       |   |   |       |
+---+---+---+---+---+---+---+---+---+---+
NIL

About

Generate mazes in Common Lisp.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published