Skip to content

An implementation of the game-set-match hierarchy for tennis matches.

License

Notifications You must be signed in to change notification settings

martinodutto/tennis-match-hierarchy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tennis match hierarchy

Defines components for a tennis match, which is composed by Game instances, Set instances and, finally, an enclosing Match object.

The aim of this little library is to be a solid base for applications treating tennis data.

The provided classes include:

  • validation upon construction
  • ways to establish if a game/set/match has ended
  • all flavors of three-setters and five-setters (fifth set tie-breaks or fifth sets going to the distance)
  • static helper classes
  • immutability.

Everything is thoroughly tested (or, at least, it should 😊).

About

An implementation of the game-set-match hierarchy for tennis matches.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages