Commit b4f9e7df by BellCodeEditor

auto save

parent 624db6d1
Showing with 3 additions and 2 deletions
......@@ -26,6 +26,7 @@ apple_y = 300
setheading = "right"
snake_head = right
s
while True:
for event in pygame.event.get():
......@@ -72,4 +73,4 @@ while True:
screen.blit(food, (apple_x, apple_y))
# 刷新画面
pygame.display.update()
FPSCLOCK.tick(15)
\ No newline at end of file
FPSCLOCK.tick(10)
\ 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