Commit b81dd45a by BellCodeEditor

save project

parent afd27551
Showing with 4 additions and 2 deletions
...@@ -66,4 +66,6 @@ while True: ...@@ -66,4 +66,6 @@ while True:
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPSCLOCK.tick(3) FPSCLOCK.tick(3)
a = (1,18) a = random.randint(1,22)
\ No newline at end of file b = random.randint(1,16)
screen.blit(food,(a*30,b*30))
\ 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