From de0f937256e56cff035e65afb50ad7f8315e56c8 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 1 Apr 2023 11:51: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 fe118bf..0f096a2 100644 --- a/snake.py +++ b/snake.py @@ -68,7 +68,7 @@ while True: else: position.pop(0) # 将背景图画上去 - if x < 0 or x > 630 or y < 0 or y > 450 + if x < 0 or x > 630 or y < 0 or y > 450: screen.blit(background, (0, 0)) # 将贪吃蛇的头画上去 -- libgit2 0.25.0