Commit e9cf493a by BellCodeEditor

save project

parent 21e72c5a
Showing with 5 additions and 3 deletions
...@@ -19,6 +19,8 @@ down=pygame.inage.load('down.pog') ...@@ -19,6 +19,8 @@ down=pygame.inage.load('down.pog')
x,y=240,120 x,y=240,120
position=[(180,90),(180,120),(210,120),(x,y)] position=[(180,90),(180,120),(210,120),(x,y)]
apple_x=360
apple_y=360
sethea sethea
while True: while True:
...@@ -43,9 +45,9 @@ while True: ...@@ -43,9 +45,9 @@ while True:
if x==apple_x and y==apple_y:
apple_x=random.randint(0,660)
apple_y=random.randint(0,480)
......
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