Maze generation: Difference between revisions

Content added Content deleted
(→‎{{header|jq}}: simplify)
Line 5,590: Line 5,590:
In the following, a maze is represented by a matrix, each of whose elements
In the following, a maze is represented by a matrix, each of whose elements
is in turn a JSON object representing the bounding box:
is in turn a JSON object representing the bounding box:
$box["N"] is true iff the northern edge open, and similarly for the
$box["N"] is true iff the northern (top) edge is open, and similarly for the
other points of the compass.
other points of the compass.