Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Bouandary
- if player.xcor() > 300 or player.xcor() < -300:
- print("GAME OVER")
- quit()
- #Boundary
- if player.ycor() > 300 or player.ycor() < -300:
- print("GAME OVER")
- quit()
- #Bouandary2
- if player2.xcor() > 300 or player2.xcor() < -300:
- print("GAME OVER")
- quit()
- #Boundary2
- if player2.ycor() > 300 or player2.ycor() < -300:
- print("GAME OVER")
- quit()
- #Collision
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement