Commit 8ceff573 by BellCodeEditor

save project

parent 882fcfcc
Showing with 2 additions and 3 deletions
......@@ -46,12 +46,11 @@ while True:
b=random.randint(0,15)
apple_x=30*a
apple_y=30*b
else
pop(0)
else:
a12.pop(0)
screen.blit(background, (0, 0))
screen.blit(add, (x, y))
a12.append((x,y))
a12.pop(0)
for i in range(len(a12)-1):
screen.blit(body,a12[i])
screen.blit(food, (apple_x, apple_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