Commit a03fb398 by BellCodeEditor

save project

parent be7145a9
Showing with 4 additions and 1 deletions
...@@ -69,7 +69,10 @@ while True: ...@@ -69,7 +69,10 @@ while True:
if event.key == locals.K_d: if event.key == locals.K_d:
center[1]+=1 # 向右dd center[1]+=1 # 向右dd
if check(center)==False: if check(center)==False:
center[1]-=1 if shape==I:
center[1]-=2
else:
center[1]-=1
elif event.key == locals.K_a: # 向左 elif event.key == locals.K_a: # 向左
center[1]-=1 # 向左 center[1]-=1 # 向左
if check(center)==False: 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