From 3366c5d9d1915e14934fafa9a98592648e373ada Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sun, 16 May 2021 16:47:41 +0800
Subject: [PATCH] auto save

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

diff --git a/snake.py b/snake.py
index 0907640..15adaa5 100644
--- a/snake.py
+++ b/snake.py
@@ -1,5 +1,5 @@
 import pygame
-
+from pygame import locals
 # 初始化pygame,为使用pygame做准备
 pygame.init()
 
@@ -7,6 +7,5 @@ pygame.init()
 screen=pygame.display.set_mode((800,600))
 while True:
     for event in pygame.event.get():
-        print(event)
         if event.type == locals.QUIT:
             exit()
\ No newline at end of file
--
libgit2 0.25.0