Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
|
|
@ -7,8 +7,8 @@ var ver = (1..h -> map {["| "] * w })
|
|||
var hor = (0..h -> map {["+--"] * w })
|
||||
|
||||
func walk(x, y) {
|
||||
cell[y][x] = false;
|
||||
avail-- > 0 || return; # no more bottles, er, cells
|
||||
cell[y][x] = false
|
||||
avail-- > 0 || return nil # no more cells
|
||||
|
||||
var d = [[-1, 0], [0, 1], [1, 0], [0, -1]]
|
||||
while (!d.is_empty) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue