@echecs/elo - v2.2.1
    Preparing search index...

    Function performance

    • Calculates the performance rating of a player over a series of games.

      Parameters

      • games: ResultAndOpponent[]

        Array of games, each containing the opponent's rating and the result.

      Returns number

      The performance rating rounded to the nearest integer.

      If the games array is empty or contains invalid result values.