Commit b1909ec7 by BellCodeEditor

save project

parent bc010661
Showing with 3 additions and 2 deletions
......@@ -74,9 +74,9 @@ while True:
# 将果实画上去
screen.blit(food, (apple_x, apple_y))
info = "你的分数是:"+str(score)
info = "Score:"+str(score)
text = myfont.render(info,True,(0,255,0))
screen.blit(text,(500,10))
screen.blit(text,(460,10))
# 刷新画面
pygame.display.update()
FPSCLOCK.tick(5)
\ 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