Closed masoug closed 11 years ago
This will need to be rethought; the when a player gets hit, his/her team loses a point. No one gets "out." (Because I'm guessing that it will be way too easy for players to hit each other. So to keep the game interesting, a team loses a point when one of their players is hit. The players are never "out."
Using collision detection, end the game once a player gets hit by a ball. No ball "active/inactive" state required.