Friends-Tournament
Friends-Tournament copied to clipboard
Error in algorithm?
Create a tournament with 5 players, 2 players at the same time, and 5 matches.
For each match one player has a bye since they are the odd player out. Since there are 5 matches, each player should have one bye per match.
That's not the case with the algorithm used. One player may have multiple byes across different matches.