Commit 4ad836ea by BellCodeEditor

save project

parent d71aeeb7
Showing with 2 additions and 5 deletions
...@@ -76,7 +76,4 @@ while True: ...@@ -76,7 +76,4 @@ while True:
fen=font.render(text,True,(0,0,0)) fen=font.render(text,True,(0,0,0))
screen.blit(fen,(540,0)) screen.blit(fen,(540,0))
# 将果实画上去 # 将果实画上去
screen.blit(food, (food_x, food_y)) screen.blit(food, (food_x, food_y))
# 刷新画面 \ No newline at end of file
pygame.display.update()
FPSCLOCK.tick(6)
\ 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