Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #Bouandary
  2. if player.xcor() > 300 or player.xcor() < -300:
  3. print("GAME OVER")
  4. quit()
  5. #Boundary
  6. if player.ycor() > 300 or player.ycor() < -300:
  7. print("GAME OVER")
  8. quit()
  9. #Bouandary2
  10. if player2.xcor() > 300 or player2.xcor() < -300:
  11. print("GAME OVER")
  12. quit()
  13. #Boundary2
  14. if player2.ycor() > 300 or player2.ycor() < -300:
  15. print("GAME OVER")
  16. quit()
  17.  
  18. #Collision
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement