Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include PLAYER
The type containing the data need for the Glicko2 algorithm. You can create this structure yourself, but we recommend you use the "default_player" function defined in this module.
type player_result = (player, player_error) result
val default_player :
?rating:int ->
?rating_deviation:int ->
unit ->
player_result
val rate : game_results -> player rate_result
val update_player_after_not_player_in_rating_period : player -> player_result