Commit 58ed483f by BellCodeEditor

save project

parent e94ba66b
Showing with 1 additions and 1 deletions
......@@ -55,7 +55,7 @@ while True:
position.append((x,y))
if x == apple_x and y == apple_y:
while True:
apple_x = random.randint(0,660)
apple_x = random.randint(0,630)
apple_y = random.randint(0,480)
if apple_x%30==0 and apple_y%30==0:
break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment