Skip to content

Commit

Permalink
Show number of rounds in Swiss tournament
Browse files Browse the repository at this point in the history
Once a Swiss tournament starts, it has a fixed number of rounds.  Show them.
This addresses one of the [forum complaints][1] about Swiss tournaments.

[1]: https://forums.online-go.com/t/how-many-rounds-should-a-swiss-tournament-have/51168
  • Loading branch information
dexonsmith committed May 20, 2024
1 parent f1a68be commit ea80a7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/Tournament/Tournament.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -984,6 +984,7 @@ export function Tournament(): JSX.Element {
const has_fixed_number_of_rounds =
tournament.tournament_type === "mcmahon" ||
tournament.tournament_type === "s_mcmahon" ||
(tournament.tournament_type === "swiss" && tournament.started) ||
tournament.tournament_type === "opengotha" ||
null;

Expand Down

0 comments on commit ea80a7e

Please sign in to comment.