Commit 6c91fdd8 by BellCodeEditor

save project

parent 1cd9f789
Showing with 7 additions and 3 deletions
...@@ -55,10 +55,14 @@ while True: ...@@ -55,10 +55,14 @@ while True:
y -= 30 y -= 30
else: else:
y += 30 y += 30
if s==x and e==y:
s=random.randint(0,660)
e=random.randint(0,480)
position.append((x, y)) position.append((x, y))
if s==x and e==y:
w=random.randint(1,22)
r=random.randint(1,16)
s=30*w-30
e=30*r-30
else:
position.pop(0) position.pop(0)
# 将背景图画上去 # 将背景图画上去
......
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