Commit a034b7c9 by BellCodeEditor

auto save

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