I tried to keep the user interaction as simple as possible, focused on the typical workflow of managing a new tourney: given a club, selected the championship, create a new tourney and then
insert the participants, selecting among known players, possibly organizing them in teams
Note
When the number of participants is odd, SoL automatically handle the presence of a phantom player, against whom any player wins with a score of 25—0 (for this reason the scoreboards for these imaginary matches are not even emitted).
eventually print the initial individual Badges
create the first turn: if the tourney is associated with a particular glicko rating it will be generated using the current rate of each player, otherwise using a random order; in any case, the tourney manager may manually adjust the combinations generated by the computer
print the Scoreboards of the turn
let’s play carrom!
collect compiled Scoreboards and insert the resulting scores
compute the new ranking and eventually print it
verify what picky guys are telling and eventually correct and repeat
if desired, permit other people to join in, adding new participants, or some other to leave
compute the next turn and jump to point 4 until satisfied, or until all possible combinations are exausted, which ever comes first
assign the final prizes, print the ranking and the final Badges