Commit 4fbc4023 by BellCodeEditor

save project

parent 24db3455
Showing with 2 additions and 2 deletions
......@@ -82,8 +82,7 @@ while True:
screen.blit(food, (apple_x, apple_y))
info = "Score:"+ str(score)
text = my_font.render(info, True, (0, 0, 0))
screen.blit(text, (540, 10))
# 刷新画面
pygame.display.update()
FPSCLOCK.tick(2)
\ 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