From 95dda7a9ce2ea89e8ef46063ce7191ae24eefb93 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 5 Jun 2021 14:15:33 +0800 Subject: [PATCH] save project --- snake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snake.py b/snake.py index f0308f3..ebfb410 100644 --- a/snake.py +++ b/snake.py @@ -52,7 +52,7 @@ while True: if x == apple_x and y == apple_y: num1 = random.randint(1,21) num2 = random.randint(1,16) - + position.pop(0) # 将背景图画上去 screen.blit(background, (0, 0)) # 将贪吃蛇的头画上去 -- libgit2 0.25.0