The rules of tennis that we will be implementing in this simulation are restricted to only a few sections of the Friend of the Court. These sections should be considered part of the specification of this assignment:

computer science

Description

Rules of the game

Friend of the Court

The rules of tennis that we will be implementing in this simulation are restricted to only a few sections of the Friend of the Court. These sections should be considered part of the specification of this assignment:

• Section 5a for scoring of games

• Section 6a for scoring of sets

• Section 7 for scoring of matches

• Section 10 for changing of ends

• Section 14 for order of service

• Section 23 for description of the let

5. SCORE IN A GAME

     a. Standard game

A standard game is scored as follows with the server’s score being called first:

No point - “Love”

First point - “15”

Second point - “30”

Third point - “40”

Fourth point - “Game”

except that if each player/team has won three points, the score is “Deuce”.

After “Deuce”, the score is “Advantage” for the player/team who wins the

next point. If that same player/team also wins the next point, that player/team

wins the “Game”; if the opposing player/team wins the next point, the score

is again “Deuce”. A player/team needs to win two consecutive points

immediately after “Deuce” to win the “Game”.

 

6. SCORE IN A SET

There are different methods of scoring in a set. The two main methods are the

“Advantage Set” and the “Tie-break Set”. Either method may be used provided that

the one to be used is announced in advance of the event. If the “Tie-break Set”

method is to be used, it must also be announced whether the final set will be played

as a “Tie-break Set” or an “Advantage Set”.

 

a. “Advantage Set”

The first player/team to win six games wins that “Set”, provided there is a

margin of two games over the opponent(s). If necessary, the set shall

continue until this margin is achieved.

 

7. SCORE IN A MATCH

A match can be played to the best of 3 sets (a player/team needs to win 2 sets to

win the match) or to the best of 5 sets (a player/team needs to win 3 sets to win the

match).

 

10. CHANGE OF ENDS

The players shall change ends at the end of the first, third and every subsequent

odd game of each set. The players shall also change ends at the end of each set unless

the total number of games in that set is even, in which case the players change ends

at the end of the first game of the next set.

 

14. ORDER OF SERVICE

At the end of each standard game, the receiver shall become the server and the

server shall become the receiver for the next game.

In doubles, the team due to serve in the first game of each set shall decide which

player shall serve for that game. Similarly, before the second game starts, their

opponents shall decide which player shall serve for that game. The partner of the

player who served in the first game shall serve in the third game and the partner of

the player who served in the second game shall serve in the fourth game. This rotation

shall continue until the end of the set.

 

23. THE LET

In all cases when a let is called, except when a service let is called on a second

service, the whole point shall be replayed.

Case 1: When the ball is in play, another ball rolls onto court. A let is called. The

server had previously served a fault. Is the server now entitled to a first service or

second service?

Decision: First service. The whole point must be replayed.


Related Questions in computer science category