A soccer game is over when the players have played 90 minutes. The time allotted for soccer is divided into two 45-minute halves, with a 15-minute break in between. During this time, the teams change sides of the field; there are no short passes or quick shots on goal while the ball is out of play. The referee blows his whistle to signal the end of the first half and to start the second. As soon as he does, the teams switch sides again and the game continues until the end of time. If there is a tie at the end of regulation time, then two 10-minute extra periods are played. During these extra periods, only one substitute can be used by each team. There is no limit to the number of substitutes that can be used during extra time. When extra time ends without a winner, a penalty shoot-out is used to determine a winner. In this case, the team that scores the most goals wins. It's important to note that if there is a need for more than one shot during extra time, the same situation will arise once again - there is no further substitution allowed during these situations. For example, let's say that during extra time there is a free kick taken by player A and player B misses the kick completely.