From fcbd46b585e2e28dc4040d10f30b4a10630fe928 Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sun, 7 Nov 2021 14:33:06 +0800
Subject: [PATCH] save project

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

diff --git a/snake.py b/snake.py
index 6486f8b..eabdebe 100644
--- a/snake.py
+++ b/snake.py
@@ -59,7 +59,7 @@ while True:
     if x == apple_x and y == apple_y:
         apple_x = random.randint(0,21)*30
         apple_y = random.randint(0,15)*30       
-
+        score = score + 1
     # 将背景图画上去
     
     body2.append((x, y))
--
libgit2 0.25.0