Games::AlphaBeta::Reversi is a Reversi position class for use with Games::AlphaBeta.
SYNOPSIS
package My::Reversi;
use base qw(Games::AlphaBeta::Reversi);
# implement drawing routine
sub draw { ... }
package main;
use My::Reversi;
use Games::AlphaBeta;
my ($p, $g);
$p = My::Reversi->new;
$g = Games::AlphaBeta->new($p);
while ($p = $g->abmove) {
$p->draw;
}
This module implements a position-object suitable for use with Games::AlphaBeta. It inherits from the Games::AlphaBeta::Position base class, so be sure to read its documentation. The methods implemented there will not be described here.
Product's homepage
Requirements:
· Perl