Anonymous user
Maze generation: Difference between revisions
m
→Depth-first search
Line 4,284:
Dim maze$(1 to w+1, 1 to h+1)="#"
Include=Lambda w,h (a,b) ->a>=1 and a<=w and b>=1 and b<=h
Flush ' empty stack
if random(1,2)=1 then {
|