Skip to content

maxbaldanza/tennis-kata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tennis kata

This is my first attempt at the tennis Kata taken from: http://codingdojo.org/cgi-bin/index.pl?KataTennis

#Scoring

The scoring system is rather simple:

  1. Each player can have either of these points in one game 0 15 30 40

  2. If you have 40 and you win the ball you win the game, however there are special rules.

  3. If both have 40 the players are deuce. a. If the game is in deuce, the winner of a ball will have advantage and game ball. b. If the player with advantage wins the ball he wins the game c. If the player without advantage wins they are back at deuce.

Running the tests

./bin/phpspec run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages