In a tennis match played as the best of 5 sets, the rules are as follows:
- The first player to win 3 sets wins the match.
- Each set is played to a minimum of 6 games, with a player needing to win by at least 2 games.
- If a set reaches 6-6, a tiebreaker is played to determine the winner of the set.
- Players switch sides of the court after every odd-numbered game.
- A player must win at least 4 points and be ahead by 2 points to win a game.
- The match is played until one player wins 3 sets.