pwarren's maze generator!

use 'width' and 'height' URL parameters to change both, there is a recursion limit :)

/maze?width=32&height=16

+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|        |           |                 |        |
+--+--+  +  +--+--+  +--+--+--+--+  +  +  +--+  +
|        |  |  |     |              |  |     |  |
+  +--+  +  +  +  +--+  +--+--+--+--+  +--+--+  +
|  |     |  |  |  |     |           |        |  |
+  +--+--+  +  +  +  +--+  +--+--+--+--+--+  +  +
|     |     |  |  |  |        |           |     |
+  +  +  +--+  +  +  +  +--+  +  +  +--+--+--+  +
|  |  |  |     |  |  |     |     |     |        |
+  +  +--+  +  +  +  +--+  +--+--+--+  +  +--+--+
|  |        |  |     |     |        |  |        |
+  +--+  +--+--+--+--+  +--+--+  +  +  +--+--+  +
|     |           |     |        |  |        |  |
+--+  +--+--+  +--+  +--+--+  +--+  +  +--+--+  +
|           |                 |     |           |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+


refresh