Commit 4b5b24ae by BellCodeEditor

save project

parent 0a8e4ddc
Showing with 6 additions and 0 deletions
......@@ -66,3 +66,8 @@ while True:
# 刷新画面
pygame.display.update()
FPSCLOCK.tick(3)
if x == apple_x and y == apple_y
apple_x = random.randint(0, 660)
apple_y = random.randint(0, 480)
position.pop(0)
\ No newline at end of file
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