Commit 9e2a5f8f by BellCodeEditor

auto save

parent 435057f0
Showing with 2 additions and 0 deletions
...@@ -54,6 +54,8 @@ while True: ...@@ -54,6 +54,8 @@ while True:
if x == ap_x and y == ap_y: if x == ap_x and y == ap_y:
ap_x = random.randint(0,21)*30 ap_x = random.randint(0,21)*30
ap_y = random.randint(0,15)*30 ap_y = random.randint(0,15)*30
else:
position.append((x, y)) position.append((x, y))
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