An elo rating library implemented in Go. This library can be used to manage ratings for, e.g., a sports conference, gaming, etc., as well as to predict match outcomes based on the ratings of the players.
ExpectedScore returns the expected score (chance of winning) of Player A.
The expected score of Player B is 1 - ExpectedScore(ratingA, ratingB).
This function can be used to predict matchups without alone.
Equation: ExpectedScoreA = 1 / (1 + 10^{(ratingB - ratingA)/deviation}).