Commit 36519b7e by BellCodeEditor

save project

parent 902b8311
Showing with 1 additions and 1 deletions
...@@ -64,7 +64,7 @@ while True: ...@@ -64,7 +64,7 @@ while True:
exit() exit()
if event.type == locals.KEYDOWN: if event.type == locals.KEYDOWN:
if event.key == locals.K_RIGHT: # 向右 if event.key == locals.K_RIGHT: # 向右
center[1] += 1 center[1] += 1
if check(center) == False: if check(center) == False:
center[1] -=1 center[1] -=1
elif event.key == locals.K_LEFT: # 向左 elif event.key == locals.K_LEFT: # 向左
......
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