Options
All
  • Public
  • Public/Protected
  • All
Menu

The Elimination Tournament state, consisting of the current player statistics and past results

Hierarchy

Index

Properties

currentRound

currentRound: number

playerStats

playerStats: Map<string, { losses: number; matchesPlayed: number; player: Player; rank: number; seed: number; wins: number }>

A map from a Player Tournament ID string to statistics

results

results: Array<any>

Past results stored. Each element is what is returned by Design.getResults

resultsMap

resultsMap: Map<string, { loser: Player; winner: Player }>

A match hash in the tournament indicating what seeds are meant to compete against each other. This maps a match hash to the result at the part of the tournament, indicating who won and lost

statistics

statistics: { totalMatches: number }

Stats for this Tournament in this instance. Intended to be constant memory usage

Type declaration

  • totalMatches: number

Generated using TypeDoc