Games-Ratings

 view release on metacpan or  search on metacpan

lib/Games/Ratings/Chess/FIDE.pm  view on Meta::CPAN

=head1 DESCRIPTION

This module provides methods to calculate FIDE rating (Elo) changes for one
player, having played one or more rated games. Gains and losses are calculated
according to the FIDE rating rules (cmp. FIDE Rating Regulations, FIDE
Handbook B.02.10: http://www.fide.com/info/handbook?id=75&view=article).

FIDE uses a table with scoring probabilities in dependence from rating
differences between the players.

FIDE does _not_ use the formula P = 1/(1 + 10 ^ [D/400]).

Furthermore FIDE uses a development coefficient (K) depending on the current
rating and the number of rated games.
 * K = 25 for a player with a total of less than 30 games.
 * K = 15 as long as a player`s rating remains under 2400.
 * K = 10 once a player`s published rating has reached 2400
 

=head1 INTERFACE 

lib/Games/Ratings/Go/EGF.pm  view on Meta::CPAN

 my $new_rating = $player->get_new_rating();


=head1 DESCRIPTION

This module provides methods to calculate EGF rating (GoR) changes for one
player, having played one or more rated games. Gains and losses are calculated
according to the EGF rating rules (cmp. EGF Official ratings:
http://gemma.ujf.cas.cz/~cieply/GO/gor.html).

Basically EGF uses a formula to calculate scoring probabilities in dependence
from rating differences between players: Se(A) = 1/(e^[D/a] + 1).

Furthermore EGF uses a coefficient ('con') depending on the current
rating which reduces rating change for stronger players and increases rating
change for weaker players: Rnew - Rold = con * (Sa - Se).
 

=head1 INTERFACE 

This modules provides the following methods specific to EGF ratings. Other



( run in 0.505 second using v1.01-cache-2.11-cpan-26ccb49234f )