Games::Checkers 0.1.0
Sponsored Links
Games::Checkers 0.1.0 Ranking & Summary
File size:
0.28 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1033
Date added:
2007-01-03
Publisher:
Mikhael Goikhman
Games::Checkers 0.1.0 description
SYNOPSIS
# automatical computer-vus-computer play script
use Games::Checkers::Constants;
use Games::Checkers::Board;
use Games::Checkers::BoardTree;
my $board = new Games::Checkers::Board;
my $color = White;
my $numMoves = 0;
print $board->dump;
while ($board->canColorMove($color)) {
sleep(2);
# allow 100 moves for each player
die "Automatical drawn" if $numMoves++ == 200;
my $boardTree = new Games::Checkers::BoardTree
($board, $color, 2); # think 2 steps ahead
my $move = $boardTree->chooseBestMove; # or: chooseRandomMove
$board->transform($move);
print $move->dump, "n", $board->dump;
$color = ($color == White)? Black: White;
}
print "n", ($color == White? "Black": "White"), " won.n";
ABSTRACT ^
Games::Checkers is a set of Perl classes implementing the Checkers game play. Several national rule variants are supported. A basic AI heuristics is implemented using the Minimax algorithm. Replay of previously recorded games is supported too.
DESCRIPTION ^
This package is intended to provide complete infrastructure for interactive and automatic playing and manipulating of Checkers games. Some features are not implemented yet.
Games::Checkers 0.1.0 Screenshot
Games::Checkers 0.1.0 Keywords
Checkers 0.1.0
module that allows
checkers games
color
white
play
games
checkers
0.1.0
Games::Checkers
GamesCheckers
Games::Checkers 0.1.0
Libraries
Programming
Bookmark Games::Checkers 0.1.0
Games::Checkers 0.1.0 Copyright
WareSeeker periodically updates pricing and software information of Games::Checkers 0.1.0 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::Checkers 0.1.0 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
games checkers
checkers games online
yahoo checkers games
online checkers games
color code personality test
checkers games for kids
hair color
colorado division of wildlife
chinese checkers games
coloring pages
play checkers games
colorado department of corrections
color chart
checkers games free online
games chinese checkers
internet checkers games
map of colorado
colors of the wind
Related Software
JGachine project is a Java game machine/engine/browser. Free Download
ExpenseTracker is a tag based personal expense tracking software. Free Download
Chackers Challenge is a new game for Linux! Free Download
libgee is a collection library providing GObject-based interfaces and classes for commonly used data structures. Free Download
Games::Alak is a simple game-tree implementation of a gomoku-like game. Free Download
Emacs Chess is an object-oriented library written in Elisp for manipulating chess objects (games, plies, positions, etc.), and f Free Download
Parakeet is a web-based application for managing and reporting on PyKotas print quotas. Free Download
Scons Erlang is an add on for SCons, a make/autotools replacement, to compile Erlang projects. Free Download
Latest Software
Popular Software
Favourite Software