Main > Programming > Libraries >

Games::Othello 0.01

Games::Othello 0.01

Sponsored Links

Games::Othello 0.01 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 10 (1 times)
File size: 0.005 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1052
Date added: 2006-12-28
Publisher: Daniel J. Wright

Games::Othello 0.01 description

Games::Othello is a Perl extension for modelling a game of Othello.

SYNOPSIS

use Games::Othello;

my $game = Games::Othello->new();

while( !game->over ) {
printf "It is presently %ss move",
($game->whos_move eq b) ? black, white;
my @possible_moves = values $game->possible_moves();

if ( ! @possible_moves ) {
print "You have no moves available, you must pass.
$game->pass_to_opponent;
} else {
foreach ( my $move ) @possible_moves ) {
printf
"You will take %d of your opponents chips if you place your chip on %d,%d",
scalar @{ $move->{chips} }, $move->{x}, $move->{y};
}
my ($locx, $locy) = get_move();
my $flipped = $game->place_chip( $locx, $locy );
}

my $layout = $game->chip_layout();
foreach my $row ( @$layout ) {
foreach my $pos ( @$row ) {
printf %3s,
($pos eq b) ? B # Black occupied square.
: ($pos eq w) ? W # White occupied square.
: # Un-occupied square.
}
print "nn";
}
}
my ($black_score, $white_score) = $game->score;

Games::Othello 0.01 Screenshot

Advertisements

Games::Othello 0.01 Keywords

Bookmark Games::Othello 0.01

Hyperlink code:
Link for forum:

Games::Othello 0.01 Copyright

WareSeeker periodically updates pricing and software information of Games::Othello 0.01 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Games::Othello 0.01 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Gothello is a GTK-based Othello game. Free Download
JSothello is a Javascript/DHTML implementation of the board game Othello, also called Reversi. Free Download
QtHello is an Othello game and toolkit. Free Download
Ultimate Othello is the ultimate Othello game. Free Download
Othello Game is a classic strategy game, also known as Reversi. Free Download
Acme::RTB is a Perl extension for building realtimebattle bots. Free Download
Games::Go::Dg2TeX is a Perl extension to convert Games::Go::Diagrams to TeX. Free Download
cPanel is a Perl extension to cPanel servers. Free Download