@echecs/tournament - v3.3.0
    Preparing search index...

    Type Alias Tiebreak

    Tiebreak: (
        player: string,
        rounds: CompletedRound[],
        players: Player[],
    ) => number

    A tiebreak function that computes a numeric value for a player based on the completed rounds. Higher values rank higher.

    Type Declaration

      • (player: string, rounds: CompletedRound[], players: Player[]): number
      • Parameters

        • player: string

          The player identifier to compute the tiebreak for.

        • rounds: CompletedRound[]

          All completed rounds.

        • players: Player[]

          All tournament participants.

        Returns number

        A numeric tiebreak value.