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.
Installation
npm install elo-js
Usage
Browser
requireJS and browserify compatible.
Node
var Elo = ; var elo = ; var player1Rating = 1200; var player2Rating = 1250; var newPlayer1Rating = elo; newPlayer1Rating = elo; newPlayer1Rating = elo;
Contribute
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