Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
|
|
@ -24,7 +24,7 @@ proc m_maze pos . .
|
|||
show_maze
|
||||
d[] = [ 1 2 3 4 ]
|
||||
for i = 4 downto 1
|
||||
d = random i
|
||||
d = randint i
|
||||
dir = offs[d[d]]
|
||||
d[d] = d[i]
|
||||
if m[pos + dir] = 1 and m[pos + 2 * dir] = 1
|
||||
|
|
@ -44,7 +44,7 @@ proc make_maze . .
|
|||
m[n * i - n + 1] = 2
|
||||
m[n * n - n + i] = 2
|
||||
.
|
||||
h = 2 * random 15 - n + n * 2 * random 15
|
||||
h = 2 * randint 15 - n + n * 2 * randint 15
|
||||
m_maze h
|
||||
m[endpos] = 0
|
||||
endpos += n
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue