Commit 01187d65 by BellCodeEditor

save project

parent 35ea2474
Showing with 3 additions and 3 deletions
......@@ -75,8 +75,8 @@ while True:
# 将果实画上去
screen.blit(food, (apple_x, apple_y))
text="Score:"+str(score)
info=myfont.render(text,True,(240,0,120))
info=myfont.render(text,True,(0,0,120))
screen.blit(info,(540,10))
# 刷新画面
pygame.display.update()
FPSCLOCK.tick(3)
\ No newline at end of file
FPSCLOCK.tick(3+score/35)
\ 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