meta?: { [key: string]: any }
Optionalname
name?: string
Optionalround
round?: number
Optionalscoring
scoring?: {
bestOf?: number;
bye?: number;
draw?: number;
loss?: number;
tiebreaks?: (
| "median buchholz"
| "solkoff"
| "sonneborn berger"
| "koya system"
| "cumulative"
| "earned match wins"
| "earned match losses"
| "earned game wins"
| "earned game losses"
| "game win differential"
| "neighborhood record"
| "versus"
| "mutual versus"
| "game win percentage"
| "opponent game win percentage"
| "opponent match win percentage"
| "opponent opponent match win percentage"
)[];
win?: number;
}
Optionalseating
seating?: boolean
Optionalsorting
sorting?: "none" | "ascending" | "descending"
OptionalstageOne
stageOne?: {
consolation?: boolean;
format?:
| "single-elimination"
| "double-elimination"
| "stepladder"
| "swiss"
| "round-robin"
| "double-round-robin";
initialRound?: number;
maxPlayers?: number;
rounds?: number;
}
OptionalstageTwo
stageTwo?: {
advance?: { method?: "points" | "rank" | "all"; value?: number };
consolation?: boolean;
format?: "single-elimination" | "double-elimination" | "stepladder";
}
Optionalstatus
status?: "setup" | "stage-one" | "stage-two" | "complete"
All properties that can be set with Tournament.set.
See TournamentValues for detailed descriptions of properties.