From 638faa97238291cf66fa1f8a4aa72006325f0f8d Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 19 Nov 2022 11:12:10 +0800 Subject: [PATCH] save project --- snake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snake.py b/snake.py index 5110ad7..61ec36c 100644 --- a/snake.py +++ b/snake.py @@ -76,7 +76,7 @@ while True: screen.blit(food, (apple_x,apple_y)) info="Score:"+str(score) - text=my_font.render(info,Ture,(0,0,0)) + text=my_font.render(info,True,(0,0,0)) screen.blit(text,(540,10)) # 刷新画面 pygame.display.update() -- libgit2 0.25.0