This is a small implemention of the Elo system. Based on wikipeda's information.
Trying to use ES6 features such as class to be fancy.
npm install elo-js
requireJS and browserify compatible.
var Elo = ;var elo = ;var player1Rating = 1200;var player2Rating = 1250;var newPlayer1Rating = elo;newPlayer1Rating = elo;newPlayer1Rating = elo;
Any idea, remarks? Fill an issue, drop a mail, feel free! ❤️
Build from source
git clone https://github.com/nicolasbrugneaux/elo-js.gitcd elo-jsnpm installgulp # watch src and runs tests