Maze generation: Difference between revisions

J: smaller example maze
(J: document major data structure)
(J: smaller example maze)
Line 43:
Example use (with ascii box drawing enabled):
 
<lang j> display 128 maze 1611
+ +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
| | | | | |
+ +---+---+---+---+ + + +---+---+ +---+ +---+---+ + +
| | | | | | | | | |
+---+---+ + +---+---+ + + ---+---+---+ +---+---+ + +
| | | | | | | | |
+ +---+ +---+---+ + + + + +---+---+ + +---+ ---+
| | | | | | | | | | |
+ +--- +---+---+ + +---+---+ + + + +---+---+---+--- +
| | | | | | | | | |
+ + ---+ +---+---+ +---+ +---+ + +---+---+---+ + +
| | | | | | | |
+ + +---+---+---+---+---+---+ +---+---+ + +---+---+ +
| | | | | | | | | | |
+ +---+---+---+---+ + + + + + + +---+ + +---+---+
| | | | | | | | | |
+ ---+ ---+---+ + + + +---+---+ +---+---+---+---+ ---+---+</lang>
| | | | | | | | |
+ + + +---+ +---+ + +---+ +---+---+---+---+---+ +
| | | | | | | | | |
+ +---+ + + + +---+ +---+---+ +---+ + + +---+
| | | | | | | | | | | |
+---+ + + + + +---+---+ + +---+ +---+---+---+ +
| | | |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+</lang>
 
=={{header|PicoLisp}}==
6,962

edits