Commit 3a1277f3 by BellCodeEditor

auto save

parent 9a80da19
Showing with 4 additions and 4 deletions
......@@ -21,10 +21,10 @@ while True:
# 接收到退出事件后退出程序
exit()
if event.type==locals.KEYDOWN:
if event.type==
#if event.type==K_
x+=30
sss.append((x,y))
sss.pop(0)
......@@ -42,4 +42,4 @@ while True:
screen.blit(food, (360, 300))
# 刷新画面
pygame.display.update()
s.tick(6)
\ No newline at end of file
s.tick(7)
\ No newline at end of file
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