Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.97 KB

README.md

File metadata and controls

40 lines (33 loc) · 1.97 KB

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