Commit cd7d2da1 by BellCodeEditor

auto save

parent bd817b99
Showing with 2 additions and 0 deletions
...@@ -18,6 +18,8 @@ while True: ...@@ -18,6 +18,8 @@ while True:
if event.type == locals.QUIT: if event.type == locals.QUIT:
# 接收到退出事件后退出程序 # 接收到退出事件后退出程序
exit() exit()
elif event.type == locals.KEYDOWN:
if event.key == locals.K_R
x+=30 x+=30
pocition.append((x,y)) pocition.append((x,y))
pocition.pop(0) pocition.pop(0)
......
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