Data update
This commit is contained in:
parent
81fd053722
commit
52a6ef48dd
10248 changed files with 63654 additions and 6775 deletions
|
|
@ -24,7 +24,7 @@ proc m_maze pos . .
|
|||
show_maze
|
||||
d[] = [ 1 2 3 4 ]
|
||||
for i = 4 downto 1
|
||||
d = randint i
|
||||
d = random 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 * randint 15 - n + n * 2 * randint 15
|
||||
h = 2 * random 15 - n + n * 2 * random 15
|
||||
m_maze h
|
||||
m[endpos] = 0
|
||||
endpos += n
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ end fn
|
|||
void local fn DrawMaze
|
||||
long r, c, x = _mgn, y = _mgn, value
|
||||
|
||||
pen 2,, NSLineCapStyleRound
|
||||
pen 2, fn ColorText, NSLineCapStyleRound
|
||||
|
||||
for r = 0 to _rows - 1
|
||||
for c = 0 to _cols - 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue