Maze

Randomly generated maze with only one solution - click refresh to create another.

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

Converted to PHP from Jonathan D. Kirwan's original code. His old website (no longer available) was at http://users.easystreet.com/jkirwan/new/maze.html