Commit a05f23e3 by BellCodeEditor

save project

parent 6d8e0a9d
Showing with 2 additions and 2 deletions
......@@ -50,8 +50,8 @@ while True:
position.append((x, y))
position.pop(0)
if x == apple_x and y == apple_y:
apple_x = random.randint(0,660)
apple_y = random.randint(0,480)
num1 = random.randint(1,21)
num2 = random.randint(1,16)
# 将背景图画上去
screen.blit(background, (0, 0))
......
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