tournament
Factory function to create a Tournament instance based on the specified type.
Return
A Tournament instance.
Parameters
The tournament format to create. Supported values: "arena", "swiss".
an array with the tiebreakers names in order. Supported values for each name are: "blackGames", "progressive", "sonnebornBerger", "fidePerformance", "linearPerformance", or "buchholz"
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.
The scale factor used to determine win probability. In standard Elo (like Chess), this is typically 400.0.
The unique identifier for this tournament.
The display name of the tournament.
The specific time settings for the matches (e.g., "3+2", "10|0").
The category of the tournament based on the time control (e.g., "blitz", "bullet", "rapid").
Unique ID generator for assigning identifiers to match objects.
The base of the exponent in the logistic function.
Throws
if the type provided is not recognized.