Commit eb314e9c by BellCodeEditor

save project

parent 64e19275
Showing with 3 additions and 0 deletions
...@@ -79,5 +79,7 @@ while True: ...@@ -79,5 +79,7 @@ while True:
info="Score:"+str(score) info="Score:"+str(score)
text=my_font.render(info,True,(0,0,0)) text=my_font.render(info,True,(0,0,0))
screen.blit(text,(540,10)) screen.blit(text,(540,10))
if x<0 or x>630 or y<0 or y>450:
exit()
pygame.display.update() pygame.display.update()
FPSCLOCK.tick(10) FPSCLOCK.tick(10)
\ 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