Commit c58ea0b2 by BellCodeEditor

save project

parent 13addb12
Showing with 5 additions and 2 deletions
......@@ -59,8 +59,11 @@ while True:
num2=random.randint(1,16)
apple_x=num1*30-30
apple_y=num2*30-30
score+=10
else:
po.pop(0)
if x<0 or x>630 or y<0 or y>450:
exit()
screen.blit(beijing,(0,0))
......@@ -76,4 +79,4 @@ while True:
text = my_font.render(info,True,(0,0,0))
screen.blit(text,(540,10))
pygame.display.update()
FPSCLCOLCK.tick(10)
\ No newline at end of file
FPSCLCOLCK.tick(3)
\ No newline at end of file
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