mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-29 22:21:42 -08:00
fix bug in starbase layout (bug in BASIC original)
This commit is contained in:
@@ -741,7 +741,8 @@ def startup():
|
||||
e = e0 = 3000
|
||||
p = p0 = 10
|
||||
s = 0
|
||||
k9, b9, s9 = 0, 2, 200
|
||||
k9, b9 = 0, 0
|
||||
s9 = 200
|
||||
|
||||
c = [[0, 1], [-1, 1], [-1, 0], [-1, -1], [0, -1], [1, -1],
|
||||
[1, 0], [1, 1], [0, 1]]
|
||||
@@ -777,9 +778,6 @@ def startup():
|
||||
t9 = k9 + 1
|
||||
|
||||
if b9 == 0:
|
||||
if g[q1][q2] < 200:
|
||||
g[q1][q2] += 120
|
||||
k9 += 1
|
||||
b9 = 1
|
||||
g[q1][q2] += 10
|
||||
q1, q2 = fnr(), fnr()
|
||||
|
||||
Reference in New Issue
Block a user