Challenge your friends to a match or two, enter the results and frolick upon the graphical display of their skill estimation.
This app reads the game results from a config file, calculates a rating for the players and displays it. The rating system used is Glicko-2. The app then further calculates how the player's ratings have evolved over time and displays them along with their rating deviation in a chart. Additionally the ratings are calculated using 3 different scoring rules and the result is shown in the terminal.
You can customize the type of game and what the maximum score is. For instance, in foosball one typically has a maximum score of 10:
{
name: "Foosball",
score-max: 10,
games: [
[ // 6th of July
{ a: "John", b: "Ted", pa: 10, pb: 7 },
{ a: "John", b: "Ted", pa: 10, pb: 2 },
{ a: "John", b: "Ted", pa: 10, pb: 9 }
]
]
}
A full example is provided in example.conf.
Build via SBT:
sbt pack
Then run like this:
target/pack/bin/rateferee example.conf
If you like, install via
cd target/pack && make install
Then you can run it via
~/bin/rateferee example.conf
- to asflierl for providing sglicko2,
- to jmhofer for coming up with the name Rateferee,
- to wookietreiber for providing scala-chart,
- to jfree for providing jfreechart and
- to etorreborre for providing specs2.