Commit 9f1cf28f by BellCodeEditor

auto save

parent c164749d
Showing with 3 additions and 2 deletions
...@@ -18,6 +18,9 @@ while True: ...@@ -18,6 +18,9 @@ while True:
if event.type == locals.QUIT: if event.type == locals.QUIT:
# 接收到退出事件后退出程序 # 接收到退出事件后退出程序
exit() exit()
x=x+30
# 将背景图画上去 # 将背景图画上去
screen.blit(background, (0, 0)) screen.blit(background, (0, 0))
# 将贪吃蛇画上去 # 将贪吃蛇画上去
...@@ -40,4 +43,3 @@ while True: ...@@ -40,4 +43,3 @@ while True:
\ 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