As a tennis referee
I want to manage the score of a game of a set of a tennis match between 2 players with sinpke fame rules.
In order to display the current game score of each player
Rule Details:
- The Game starts with a score of 0 point for each player
- Each time a player win a point, the game score changes a follow: 0-> 15-> 30 -> 40 -> Win Game
As a tennis referee
I want to manage the specific of the rule DEUCE at the end of a Game
In Order to display the current Game Score of each player
Rule Details:
- If the 2 players reach the score 40, the DEUCE rule is activated
- If the score DEUCE, the player who win the point take the advantage
- If the player who has the ADVANTAGE win the point, he wins the game
- If the player who has the ADVANTAGE loose the point, the score is agian DEUCE