Commit 2084627d by BellCodeEditor

save project

parent a24fd84d
Showing with 2 additions and 2 deletions
...@@ -49,8 +49,8 @@ while True: ...@@ -49,8 +49,8 @@ while True:
pos.append((x,y)) pos.append((x,y))
pos.pop(0) pos.pop(0)
if x==a_x and y==a_y: if x==a_x and y==a_y:
a_x=random.randint.randint(0,22)*30 a_x=random.randint(0,22)*30
a_y=random.randint.randint(0,16)*30 a_y=random.randint(0,16)*30
screen.blit(bg,(0,0)) screen.blit(bg,(0,0))
screen.blit(apple,(a_x,a_y)) screen.blit(apple,(a_x,a_y))
screen.blit(tou,(x,y)) screen.blit(tou,(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