10000 GitHub - Akki2200/tennisScoring: Table Tennis Scoring
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Akki2200/tennisScoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table Tennis Scoring

Table Tennis Scoring

  1. There are two players in the game.
  2. Every player gets to serve twice in a row.
  3. The first to 11 points is declared the winner.
  4. If the points are tied at 10-10, a player then has to strive for a two-point lead to win the game.
  5. If the scores are tied at 20-20, the first player to reach 21 point wins the game

Assume each player winning the point randomly. If the random functions returns even, then first player wins the point, if it returns odd, the second player wins the point

Display the score and the winning player.

About

Table Tennis Scoring

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0