Commit c838acfd by BellCodeEditor

save project

parent c44b12d7
Showing with 2 additions and 2 deletions
......@@ -24,10 +24,10 @@ while True:
exit()
if event.type==locals.KEYDOWN:
if event.key==locals.K_RIGHT:
if weizhi[1]>1:
if weizhi[1]<15:
weizhi[1]+=1
if event.key==locals.K_LEFT:
if weizhi[1]<15:
if weizhi[1]>1:
weizhi[1]-=1
if event.key==locals.K_DOWN:
if weizhi[0]<25:
......
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