Commit b79b16eb by BellCodeEditor

save project

parent d412fa16
Showing with 6 additions and 0 deletions
...@@ -78,3 +78,9 @@ while True: ...@@ -78,3 +78,9 @@ while True:
screen.blit(tx,(0,0)) screen.blit(tx,(0,0))
pygame.display.update() pygame.display.update()
FPSCLOCK.tick(3) FPSCLOCK.tick(3)
if x < 0 or x >630 or y<0 or y>450:
exit()
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