Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
exploring_amazing.bas [2023/05/19 21:28] – robert | exploring_amazing.bas [2024/10/19 22:01] (current) – typo fix robert | ||
---|---|---|---|
Line 502: | Line 502: | ||
To knock down the wall to the left of a square, the generator moves its current column position 1 to the left, updates that square with the next count of visited squares then knocks down the right-hand wall. | To knock down the wall to the left of a square, the generator moves its current column position 1 to the left, updates that square with the next count of visited squares then knocks down the right-hand wall. | ||
- | To down down the wall in the up (or north) direction, the generator moves its current row position 1 row up, then knocks down the " | + | To knock down the wall in the up (or north) direction, the generator moves its current row position 1 row up, then knocks down the " |
* 0 this square has right AND bottom walls | * 0 this square has right AND bottom walls | ||
Line 511: | Line 511: | ||
The other array tracks whether a room has been "" | The other array tracks whether a room has been "" | ||
- | The right hand annotated example maze below shows the increating | + | The right hand annotated example maze below shows the increasing |
If the current row and column of the generator each a dead end or the exit and have no more directions to " | If the current row and column of the generator each a dead end or the exit and have no more directions to " |