Maze generation: Difference between revisions

Content added Content deleted
m (→‎simpler version of above: added wording to the REXX section header.)
Line 5,721: Line 5,721:


===simpler version of above===
===simpler version of above===
The above REXX version had a quite of bit of code to "dress up" the maze presentation,
The above REXX version had a quite of bit of code to "dress up" the maze presentation,   so a slimmed-down version
<br>was included here for easier reading and understanding of the program's logic.
<br>so a slimmed down version was included here.
<lang rexx>/*REXX program generates and displays a rectangular solvable maze (of any size). */
<lang rexx>/*REXX program generates and displays a rectangular solvable maze (of any size). */
height=0; @.=0 /*default for all cells visited. */
height=0; @.=0 /*default for all cells visited. */