An open API service indexing awesome lists of open source software.

https://github.com/timhanewich/timhanewich.elo

The Elo Rating system, created by Arpad Elo in 1960. This individual vs. individual ranking system is commonly used in sports like Chess and was infamously used to rank attractiveness in Mark Zuckerberg's "Hot or not" site before the making of Facebook.
https://github.com/timhanewich/timhanewich.elo

Last synced: 9 months ago
JSON representation

The Elo Rating system, created by Arpad Elo in 1960. This individual vs. individual ranking system is commonly used in sports like Chess and was infamously used to rank attractiveness in Mark Zuckerberg's "Hot or not" site before the making of Facebook.

Awesome Lists containing this project

README

          

Place the following statement at the top of your code file or namespace to import the necessary components:
~~~
using TimHanewich.Elo;
~~~

### Calculating new ELO ratings after a match
~~~
EloCalculator ec = new EloCalculator();
EloResult result = ec.CalculateNewElo(2200, 1700, GameResult.Player2Won, 500);
~~~
Parameters for the `CalculateNewElo`
1) Player 1 current ELO rating
2) Plaer 2 current ELO Rating
3) `GameResult`, the result of the matchup. Either Player 1 wins, Player 2 wins, or there is a draw.
4) (optional) The K value used in the ELO calculation. K defines how heavily this match should influence ratings. This value is 50 by default.

The `EloResult` class contains the old and new ELO rating values based upon the results of the match up.