Commit 0a7da885 by BellCodeEditor

save project

parent 85d98579
Showing with 2 additions and 1 deletions
...@@ -81,7 +81,7 @@ while True: ...@@ -81,7 +81,7 @@ while True:
screen.blit(food, (apple_x, apple_y)) screen.blit(food, (apple_x, apple_y))
info='Score:'+str(score) info='Score:'+str(score)
fen1=fen.render(info,True,(c,d,e)) fen1=fen.render(info,True,(c,d,e))
screen.blit(fen1,(480,0)) screen.blit(fen1,(0,0))
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPSCLOCK.tick(a) FPSCLOCK.tick(a)
\ 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