Skip to content

bruce-ricard/glicko2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glicko2 Build Status

Ocaml Glicko2 implementation

This library implements the Glicko2 algorithm, which provides a rating system for 2 player games.

This library is composed of a pre-instantiated module you can use out of the box, and a functor which allows you to configure certain variables of the algorithm.

The original implementation of the algorithm was written by Jesper Louis Andersen. This library adds a clean API layer around it.

Installing

With opam (recommended)

opam install glicko2

From the source

git clone https://github.com/bruce-ricard/glicko2.git
cd glicko2
# Install dependencies, you can find them in the opam file.
make
make install

Starting out

For first time users, or if all you need is a library which helps you rate games, one game at a time, look into the single game module.

If you need to take advantage of the rating periods, you will need to look into the low level module.

If you need to configure the low level variables of the Glicko2 algorithm, you might want to use provided functor.

License

This library is distributed under GNU GPLv2. Feel free to contact me if you have any question or issue with the licensing.