Scheduling tournaments using round robin algorithm.
License
—
Deps
0
Install Size
—
Vulns
✓ 0
Published
Jan 10, 2022
$ dotnet add package RoundRobinTournamentSchedulerThis project schedules a tournament using round robin algorithm. Rematches are also scheduled.
int seasonId = 1;
List<Team> teams = Enumerable.Range(1, 16).Select(x => new Team { Id = x });
ISeasonScheduler seasonScheduler = new CompleteSeasonLeagueScheduler(seasonId, teams);
Season season = seasonScheduler.ScheduleSeason();
List<Matchday> matchdays = season.Matchdays;
Nuget will be published soon (work item #752 and further)