Calculates the performance rating of a player over a series of games.
Array of games, each containing the opponent's rating and the result.
The performance rating rounded to the nearest integer.
https://handbook.fide.com/chapter/B022024 Section 8.2.3
If the games array is empty or contains invalid result values.
Calculates the performance rating of a player over a series of games.