Maze generation: Difference between revisions
m
→{{header|11l}}: Void
m (→{{header|POV-Ray}}: Explanation added about iterative approach) |
Alextretyak (talk | contribs) m (→{{header|11l}}: Void) |
||
Line 25:
V hor = [[‘+--’] * w [+] [String(‘+’)]] * (h + 1)
F walk(Int x, Int y) ->
@vis[y][x] = 1
V d = [(x - 1, y), (x, y + 1), (x + 1, y), (x, y - 1)]
|