Commit 9f509b29 by BellCodeEditor

save project

parent e8be5c02
Showing with 4 additions and 2 deletions
print("fdds")
\ No newline at end of file
...@@ -57,9 +57,9 @@ while True: ...@@ -57,9 +57,9 @@ 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] =center[1]-1 center[1] =center[1]+1
if check(center)==False: if check(center)==False:
center[1]=center[1] + 1 center[1]=center[1] - 1
elif event.key == locals.K_LEFT: # 向左 elif event.key == locals.K_LEFT: # 向左
center[1]= center[1]-1 center[1]= center[1]-1
......
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