Maze generation: Difference between revisions
→Simple, Depth-First: Ranges aren't conses any more.
m (→{{header|Sidef}}: modified the code to work with the latest version of Sidef) |
(→Simple, Depth-First: Ranges aren't conses any more.) |
||
Line 5,509:
(defun neigh (loc)
(
(y (to loc)))
(list (- x 1)..y (+ x 1)..y
x..(- y 1) x..(+ y 1))))
|