Tournament
Instances of this class can manage tournament logic.
This is a facade created to enable exporting the code to JS, though it can also be used directly within the JS modules of any KMP project.
Properties
Current matches being played.
All concluded matches in the tournament history.
Unique ID generator for assigning identifiers to match objects.
The K-factor that determines how much a single match affects the rating. A higher value leads to faster rating changes. Default is 32.0.
Current player standings, ordered by score and tie-breakers.
The base of the exponent in the logistic function. Default is 10.
The scale factor used to determine win probability. Default is 400.0.
Tournament's tiebreakers.
The specific time settings for the matches (e.g., "3+2", "10|0"). Returns null if no specific time control has been defined.