Giter Site home page Giter Site logo

kata-tennis's Introduction

kata-tennis

KATA Tennis

SPRINT 1 manage a tennis GAME within a set of a tennis match

User Story 1 :

As a tennis referee

I want to manage the score of a game of a set of a tennis match between 2 players with simple Game rules

In order to display the current Game score of each player

Rules details:

The game starts with a score of 0 point for each player

Each time a player win a point, the Game score changes as follow:

0 -> 15 -> 30 -> 40-> Win game

User Story 2 :

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

Rules details:

If the 2 players reach the score 40, the DEUCE rule is activated

If the score is DEUCE , the player who win the point take the ADVANTAGE

If the player who has the ADVANTAGE win the point, he win the game

If the player who has the ADVANTAGE loose the point, the score is DEUCE

SPRINT2 : manage a Tennis SET within a tennis match

User Story 3 :

As a tennis referee

I want to manage the score of a set of a tennis match between 2 players

In order to display the current Game & Set score of each player

Rules details:

The set starts with a score of 0 Game for each player

Each time a player win a Game, the Set score changes as follow:

1 -> 2 -> 3 -> 4 -> 5 -> 6 (-> 7)

If a player reach the Set score of 6 and the other player has a Set score of 4 or lower, the player win the Set

If a player win a Game and reach the Set score of 6 and the other player has a Set score of 5, a new Game must be played and the first player who reach the score of 7 wins the match

kata-tennis's People

Contributors

bbousque avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.