Commit e870a8a9 by BellCodeEditor

auto save

parent f6b95cbc
Showing with 2 additions and 1 deletions
...@@ -72,7 +72,7 @@ while True: ...@@ -72,7 +72,7 @@ while True:
screen.blit(food, (a_x,a_y)) screen.blit(food, (a_x,a_y))
# 刷新画面 # 刷新画面
inf='Score'+str(score) inf='Score'+str(score)
tx=ft.render(inf,True,(255,255,0)) tx=ft.render(inf,True,(255,0,255))
screen.blit(tx,(0,0)) screen.blit(tx,(0,0))
pygame.display.update() pygame.display.update()
FPSCLOCK.tick(3) FPSCLOCK.tick(3)
\ 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