Expand description

Skillratings provides functions on calculating a player’s skill rating in 1v1 games.

Currently we support these skill rating systems: Elo, DWZ, Ingo, TrueSkill, Glicko and Glicko-2.

You can use this crate to calculate results for two players instantly, or for one player in a rating period with the algorithms mentioned above.

Read the linked wikipedia articles for more information about them and their advantages and disadvantages.

Modules

Contains structs to configure key variables used in the different rating algorithms.

The DWZ (Deutsche Wertungszahl) algorithm used in the german chess leagues alongside Elo.
DWZ continues to be enhanced over the years, while having similar scores to Elo.

The Elo algorithm, the most used and recognised rating system and the gold-standard in standard chess.

Calculate a player’s skill rating using the Glicko algorithm, developed by Mark Glickman as an improvement on Elo.

Calculate a player’s skill rating using the Glicko-2 algorithm, an improvement on Glicko and widely used in online games, like Counter Strike: Global Offensive, Team Fortress 2, Splatoon 2 and most online chess platforms.

The Ingo algorithm, the predecessor of DWZ and one of the first rating algorihms invented in 1947.
Note that a lower score here is more desirable.

Contains possible outcomes of a match.

Contains structs to initialize player’s ratings in the format of the different rating algorithms used.

Calculate a player’s skill rating using the TrueSkill algorithm, developed by Microsoft for Halo 3. Used in the Halo games, the Forza Games, Tom Clancy’s: Rainbow Six Siege, and most Xbox Live games.
Unlike the other rating algorithms, TrueSkill supports teams.
Caution: TrueSkill is patented, so if you have a commercial project, it is recommended to use another algorihm included here.