Elo rating change calculator
elo_changeCalculates how many rating points a player wins or loses for a win, draw and loss against an opponent, using the Elo formula. Also returns the expected score.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | K-factor (default 20; FIDE uses 40 for new players, 20 normally, 10 above 2400) | |
| rating | Yes | The player's rating | |
| opponent | Yes | The opponent's rating |