Skip to content

A program that helped me find a game schedule for 10 teams, playing 10 rounds, 10 different games, (almost) each time against another opponent.

License

Notifications You must be signed in to change notification settings

gkruiger/schedulizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

schedulizer

A small program that helped me find a schedule for 10 teams, that was limited by the following rules:

  • Each team plays each round exactly once, against one other team
  • Each team plays each game only once
  • Each team plays each opponent only once

More background and how this program came to be in my blog: https://www.ontdeksels.nl/ontdeksel-26-17-jaar-later/ (Dutch).

Final schedule:

Final schedule (box version)

And a pretty version:

Final schedule (pretty version)

Running the program

Find the following lines of code in the program to adjust them to your liking.

findSchedule(
    10,     // number of teams
    false   // pretty schedule?
);

Please be aware that this program can run for a long time, without any way to know in advance when it will finish. If it ever will...

About

A program that helped me find a game schedule for 10 teams, playing 10 rounds, 10 different games, (almost) each time against another opponent.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published