Games::AlphaBeta::ReversiGames::AlphaBeta::Reversi is a Reversi position class for use with Games::AlphaBeta. | |
Download |
Games::AlphaBeta::Reversi Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Stig Brautaset
- Publisher web site:
- http://search.cpan.org/~stig/Games-AlphaBeta-0.4.6/lib/Games/AlphaBeta/Reversi.pm
Games::AlphaBeta::Reversi Tags
Games::AlphaBeta::Reversi Description
Games::AlphaBeta::Reversi is a Reversi position class for use with Games::AlphaBeta. 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. Requirements: · Perl
Games::AlphaBeta::Reversi Related Software