slashinfty / tournament-organizer

JavaScript library for running tournaments
https://slashinfty.github.io/tournament-organizer/
MIT License
51 stars 18 forks source link

Minimum of 8 players for Swiss? #13

Closed AndreasSG closed 2 years ago

AndreasSG commented 2 years ago

I just want to know why there is a limit of a minimum of 8 players when creating a Swiss tournament?

I haven't been able to find any documentation or source for why this number could be chosen, so if you have a reason for this then please let me know. All i find when looking at implementations of this tournament mode for chess, magic, or others is that there is no minimum player count. They usually just restrict the number of rounds instead.

Maybe this limit could be a parameter that you should be able to set yourself when creating the Swiss tournament?

slashinfty commented 2 years ago

I'm out of town until Thursday. If you'd like to open up a pull request where the minimum number of players is 2 instead of 8, I'd be happy to do that. If you are unable to do a pull request, I will do so when I return home.

slashinfty commented 2 years ago

Addressed in #14

slashinfty commented 2 years ago

@AndreasSG v2.3.0 has been published to npm, and this fix is included (in addition to lowering the round-robin and elimination player minimum to 2).