Commit c904651f by BellCodeEditor

auto save

parent d5739bd2
Showing with 2 additions and 1 deletions
import pygame
import pygame,random
from pygame import locals
# 初始化pygame,为使用硬件做准备
......@@ -22,6 +22,7 @@ position = [(180, 90), (180, 120), (210, 120), (x, y)]
setheading = "right"
snake_head = right
score = 0
while True:
for event in pygame.event.get():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment