From c3db605a2d3bb44e34dfe86aecfa3e001b7c2eae Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Mon, 29 Jan 2024 09:59:35 +0800
Subject: [PATCH] save project

---
 snake.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/snake.py b/snake.py
index 28ca06c..25e6d97 100644
--- a/snake.py
+++ b/snake.py
@@ -60,7 +60,7 @@ while True:
         apple_y = random.randint(0, 480)
         
     position.pop(0)
-    ifx<0 or x>630 or y<0 or y>450:
+    ifx<0 or x>630 or y<0 or y> 450:
         exit()
     screen.blit(background, (0,0))
     # 将贪吃蛇的头画上去
--
libgit2 0.25.0