Skip to content

calculate round robin tournament matches (every one against everyone) - used e.g. for group phases

License

Notifications You must be signed in to change notification settings

taskmedia/roundrobintournament

Repository files navigation

round robin tournament

This is a golang module which will provide functions to generate a 2d slice of string containing matches of given teams. The matches will be generated using the round-robin tournament. Every team will play against every other team.

example

The following golang function call will create the 2d slice of strings above.

GenerateRoundRobinTournamentMatchesByNumber(4)
[
  [Team 1 Team 2]
  [Team 3 Team 4]
  [Team 1 Team 4]
  [Team 2 Team 3]
  [Team 1 Team 3]
  [Team 4 Team 2]
]

You will find other examples in example directory.


releases docs golang version
MIT license codecoverage code size
issues pull requests
twitter

About

calculate round robin tournament matches (every one against everyone) - used e.g. for group phases

Topics

Resources

License

Stars

Watchers

Forks

Languages