Commit b42acc78 by BellCodeEditor

save project

parent f1b4bdbf
Showing with 3 additions and 0 deletions
...@@ -69,6 +69,9 @@ while True: ...@@ -69,6 +69,9 @@ while True:
score+=10 score+=10
else: else:
position.pop(0) position.pop(0)
if x<0 or x>630 or y<0 or y>450:
exit()
# 添加元素并删除元素 # 添加元素并删除元素
position.append((x,y)) position.append((x,y))
......
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