The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

SYNOPSIS

  use Games::Go::AGA::BayRate::Game;

DESCRIPTION

Games::Go::AGA::BayRate::Game is a perl implementation of game.cpp found in the bayrate.zip package from the American Go Association (http://usgo.org).

Most of the following documentation is shamelessly stolen directly from game.cpp.

METHODS

get_komi ()
get_handicap ()
get_whiteWins ()
set_komi ( new )
set_handicap ( new )
set_whiteWins ( new )
get_white ()
get_black ()
get_sigma_px ()
get_handicapeqv ()

Accessors for getting and setting game attributes. Attributes without a 'set_' method must be created at -new(...)> time.

calc_handicapeqv ()

Calculates the equivalent rating difference for the handicap/komi conditions of this game. get_sigma_px() and get_handicapeqv() call this if necessary.

seed_probability

Returns the probability of this game result based on players' seeds