Commit 2b222b95 by BellCodeEditor

auto save

parent e601d53e
Showing with 4 additions and 6 deletions
...@@ -54,12 +54,10 @@ while True: ...@@ -54,12 +54,10 @@ while True:
y -= 30 y -= 30
else: else:
y += 30 y += 30
position.app22) position.append((x, y))
B=random.randint(1-16) if x==sbx and y==sby:
sbx=S*30-30 sbx=random.randint(0,660)
sby=B*30-30 sby=random.randint(0,480)
else:
position.pop(0) position.pop(0)
# 将背景图画上去 # 将背景图画上去
screen.blit(background, (0, 0)) screen.blit(background, (0, 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