From 99fd369a3614070d8e424a9d7e531c33fec3bfd2 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 31 Jan 2021 16:14:10 +0800 Subject: [PATCH] auto save --- snake.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snake.py b/snake.py index 90122c8..ee22866 100644 --- a/snake.py +++ b/snake.py @@ -73,6 +73,10 @@ while True: # 将果实画上去 screen.blit(food, (apple_x, apple_y)) + + + + # 刷新画面 pygame.display.update() FPSCLOCK.tick(3) \ No newline at end of file -- libgit2 0.25.0