Games::RatingsGeneric methods for rating calculation (e.g. chess ratings) | |
Download |
Games::Ratings Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Christian Bartolom?us
- Publisher web site:
- http://search.cpan.org/~bartolin/
Games::Ratings Tags
Games::Ratings Description
Generic methods for rating calculation (e.g. chess ratings) Games::Ratings is a Perl module with generic methods for rating calculation (e.g. chess ratings).SYNOPSIS ## not very useful, but one could do use Games::Ratings; my $player = Games::Ratings->new(); $player->set_rating(2240); $player->add_game( { opponent_rating => 2114, result => 'win', ## or 'draw' or 'loss' } ); my $n = $player->get_number_of_games_played(); my $points_scored = $player->get_points_scored(); my $opponents_rating = $player->get_average_rating_of_opponents(); $player->remove_all_games;Games::Ratings provides some generic methods for other, more specific modules (like Games::Ratings::Chess::FIDE or Games::Ratings::Chess::DWZ). It isn't very useful for itself. Requirements: · Perl
Games::Ratings Related Software