Manually add competitors by entering their name and team (optional) into the corresponding entries, then press 'Add Competitor.'
Once all competitors are added, you may press 'Begin Competition' to generate the first round of pairings.
Select a winner for each match up during the round. Once the round is complete,
press 'Generate Next Round.' The scores will be updated and next round generated.
The match ends when only 1 competitor remains.
Match Ups
Extra information
The 'Record' can be saved and then loaded at a later date from your device at any time.
'Admin Mode' wipes the list of match ups then let's the user edit the scores, names and teams.
User must exit admin mode before the competition can resume.
This page does not need to be refreshed once loaded. The 'Record' and pairings are saved in the
browser cache so if an accidental refresh occurs, the data won't be lost.
For convenience, the Record table can be saved onto your local machine in csv format.
Saved csv's can be reloaded and resumed.
Match Up Logic
This code is designed to be a replacement for classic 'bracket' style competitions.
This code creates matchups based on competitors' records. Those who are undefeated
will only compete against those who are undefeated. Competitors with the fewest
wins are mathed up first to ensure that BYE's are awarded to those who have
competed the most. The logic prioritizes matching competitors that are not on the
same team unless there is no other viable matchup. This algorithm is not perfect
and teammates will be paired sparsely.