games othello 0.01
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2403
Games::Othello 0.01
Games::Othello is a Perl extension for modelling a game of Othello. more>>
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;
<<lessSYNOPSIS
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;
Download (0.005MB)
Added: 2006-12-28 License: Perl Artistic License Price:
1041 downloads
Gothello 0.1
Gothello is a GTK-based Othello game. more>>
Gothello project is a GTK-based Othello game.
Its for one or two players.
You can use it to play against other people or against the computer, or you can play the computer against itself. The AI is implemented using Negamax search with Alpha-Beta pruning, with Iterative Deepening.
It has both fixed-depth and fixed-time search modes.
<<lessIts for one or two players.
You can use it to play against other people or against the computer, or you can play the computer against itself. The AI is implemented using Negamax search with Alpha-Beta pruning, with Iterative Deepening.
It has both fixed-depth and fixed-time search modes.
Download (0.028MB)
Added: 2007-01-15 License: GPL (GNU General Public License) Price:
1013 downloads
JSothello 2.0.0.0
JSothello is a Javascript/DHTML implementation of the board game Othello, also called Reversi. more>>
JSothello is a Javascript/DHTML implementation of the board game "Othello", also called "Reversi". Runs in the browser with four challenging computer intelligence levels. Play human versus computer, human versus human or computer versus computer.
JSothello is a Javascript/DHTML implementation of the board game "Othello", also called "Reversi".
Othello is very easy to play. The board is a square grid of any size. The two players pieces are black or white. Each player must place a piece on the board adjacent to one of his opponents pieces so that another of his own pieces is on the other side of his opponents piece(s). In other words, the opponents piece(s) should be "sandwiched" between the players pieces. When that occurs, all such "sandwiched" pieces are changed to the players color.
The game ends when one player cannot make a legal move. The winner is the player with the most pieces on the board.
This version allows the user to play the computer, another human or watch the computer play itself. The computer players have four levels of "intelligence", each with different styles of play:
- "Only took a minute to learn": The computer chooses random (legal) moves.
- "Laughable": The computer picks (one of) the move(s) that will flip the most pieces.
- "Respectable": Plays like "Laughable" but tries to grab the edges and the corners whenever possible while keeping its opponent from being able to grab the edges and corners.
- "Took a lifetime to master": Plays like "Respectable" but adjusts its edge/corner bias as the board fills up, favors moves that flip pieces in more than one direction, tries to prevent moves that will allow the opponent to immediately reverse its gain and places pieces closer to the corners when possible.
<<lessJSothello is a Javascript/DHTML implementation of the board game "Othello", also called "Reversi".
Othello is very easy to play. The board is a square grid of any size. The two players pieces are black or white. Each player must place a piece on the board adjacent to one of his opponents pieces so that another of his own pieces is on the other side of his opponents piece(s). In other words, the opponents piece(s) should be "sandwiched" between the players pieces. When that occurs, all such "sandwiched" pieces are changed to the players color.
The game ends when one player cannot make a legal move. The winner is the player with the most pieces on the board.
This version allows the user to play the computer, another human or watch the computer play itself. The computer players have four levels of "intelligence", each with different styles of play:
- "Only took a minute to learn": The computer chooses random (legal) moves.
- "Laughable": The computer picks (one of) the move(s) that will flip the most pieces.
- "Respectable": Plays like "Laughable" but tries to grab the edges and the corners whenever possible while keeping its opponent from being able to grab the edges and corners.
- "Took a lifetime to master": Plays like "Respectable" but adjusts its edge/corner bias as the board fills up, favors moves that flip pieces in more than one direction, tries to prevent moves that will allow the opponent to immediately reverse its gain and places pieces closer to the corners when possible.
Download (MB)
Added: 2007-03-09 License: GPL (GNU General Public License) Price:
959 downloads
Games::Score 0.02
Games::Score is a Perl module to keep track of score in games . more>>
Games::Score is a Perl module to keep track of score in games .
SYNOPSIS
use Games::Score;
# these three values are the default ones, by the way
Games::Score->default_score(0);
Games::Score->default_step(1);
Games::Score->step_method(inc);
# start two players
my $player1 = Games::Score->new();
my $player2 = Games::Score->new();
# set a winning condition
Games::Score->victory_is( sub { $_[0] >= 20 } );
# and something to do if it is achieved
Games::Score->on_victory_do( sub { print "Won!" } );
# give points to the players
$player1->add(2);
$player2->step();
# look at section FUNCTIONS for more functionalities, such as
Games::Score->invalidate_if( sub { $_[0] > 20 } );
Games::Score can be use to keep track of several players points in a game, regardless of the starting amount of points, winning and/or losing conditions, etc.
It provides several useful methods so that the user doesnt have to keep testing values to see if theyre valid or if the player condition has changed.
<<lessSYNOPSIS
use Games::Score;
# these three values are the default ones, by the way
Games::Score->default_score(0);
Games::Score->default_step(1);
Games::Score->step_method(inc);
# start two players
my $player1 = Games::Score->new();
my $player2 = Games::Score->new();
# set a winning condition
Games::Score->victory_is( sub { $_[0] >= 20 } );
# and something to do if it is achieved
Games::Score->on_victory_do( sub { print "Won!" } );
# give points to the players
$player1->add(2);
$player2->step();
# look at section FUNCTIONS for more functionalities, such as
Games::Score->invalidate_if( sub { $_[0] > 20 } );
Games::Score can be use to keep track of several players points in a game, regardless of the starting amount of points, winning and/or losing conditions, etc.
It provides several useful methods so that the user doesnt have to keep testing values to see if theyre valid or if the player condition has changed.
Download (0.007MB)
Added: 2006-12-27 License: Perl Artistic License Price:
1031 downloads
QtHello 1.0
QtHello is an Othello game and toolkit. more>>
QtHello project is an Othello game and toolkit.
Its design makes it easy to extend both the computer player and human player interfaces. It currently has 6 different computer players ranging from completely random to tree search with Alpha-Beta pruning.
Its mainly meant as a toolkit for Othello developers wanting to concentrate on the AI routine and not the GUI. Although I think normal Othello entusiasts might find this game enjoyable especially when the computer players get smarter.
<<lessIts design makes it easy to extend both the computer player and human player interfaces. It currently has 6 different computer players ranging from completely random to tree search with Alpha-Beta pruning.
Its mainly meant as a toolkit for Othello developers wanting to concentrate on the AI routine and not the GUI. Although I think normal Othello entusiasts might find this game enjoyable especially when the computer players get smarter.
Download (MB)
Added: 2007-01-15 License: QPL (QT Public License) Price:
1013 downloads
Ultimate Othello 1789
Ultimate Othello is the ultimate Othello game. more>>
Ultimate Othello is the ultimate Othello game. Enjoy its new, aqua-friendly graphics, full Cocoa interface (on MacOS X) and animations.
The next generation Ultimate Othello is becoming usable and somewhat more ultimate than the previous version !
It features network play with chat and multiple enhaced AIs, and is released under the Gnu Public Licence for both Linux and Mac OS X.
<<lessThe next generation Ultimate Othello is becoming usable and somewhat more ultimate than the previous version !
It features network play with chat and multiple enhaced AIs, and is released under the Gnu Public Licence for both Linux and Mac OS X.
Download (0.47MB)
Added: 2005-09-06 License: GPL (GNU General Public License) Price:
1515 downloads
Othello Game 0.2.1
Othello Game is a classic strategy game, also known as Reversi. more>>
Othello Game is a classic strategy game, also known as Reversi. Its objective is to finish the game with the greater amount of pieces (circles) of the same color.
This version of the Othello game supports the writing of AI plugins in C++ or Python, network games, and interface themes.
Enhancements:
- pkgconfig support was added.
- It is now easier to write AI plugins.
- An installation guide, and a tutorial for writing plugins were incuded.
- It is now possible to disable Python support from the configuration.
- New icons were provided.
<<lessThis version of the Othello game supports the writing of AI plugins in C++ or Python, network games, and interface themes.
Enhancements:
- pkgconfig support was added.
- It is now easier to write AI plugins.
- An installation guide, and a tutorial for writing plugins were incuded.
- It is now possible to disable Python support from the configuration.
- New icons were provided.
Download (0.63MB)
Added: 2007-08-16 License: GPL (GNU General Public License) Price:
805 downloads
Games::Bingo::Bot 0.01
Games::Bingo::Bot is a simple class holding IRC related methods for bingo. more>>
Games::Bingo::Bot is a simple class holding IRC related methods for bingo.
SYNOPSIS
use Games::Bingo::Bot;
use constant ANY => 1; use constant PUBLIC => 2; use constant PRIVATE => 3;
my $gbb = Games::Bingo::Bot->new();
my $sub = $gbb->{commands}->{$msg});
my ($type, $answer) = &$sub($gbb, $nick);
This module contains all the commands supported by the Games::Bingo::Bot IRC bot (see the script in the bin directory).
The Games::Bingo::Bot class (this) and the script mentioned above is a complete IRC setup for playing Bingo, using the Games::Bingo module.
These are the bingobot commands:
help - this message
play - join a game
stats - get the current statistics of the running game
pull - pull the next number
bingo - you indicate to the bot that you have bingo
pulled - shows you what number have been pulled
show - lists the numbers on your plate
The command are described below in detail (SEE COMMANDS).
Not implemented yet (SEE TODO):
auto - enables automode (automatic number pulling)
noauto - disables automode
All commands can be sent into the channel or send as private messages to the bot. The bot can repond as both of these ways aswell. The reponses are sent as follows:
help, show and all errors are always private messages
pull and bingo are always public
play, pulled, stats, auto, noauto depends on how you query
As long as the bot is online a game is running.
<<lessSYNOPSIS
use Games::Bingo::Bot;
use constant ANY => 1; use constant PUBLIC => 2; use constant PRIVATE => 3;
my $gbb = Games::Bingo::Bot->new();
my $sub = $gbb->{commands}->{$msg});
my ($type, $answer) = &$sub($gbb, $nick);
This module contains all the commands supported by the Games::Bingo::Bot IRC bot (see the script in the bin directory).
The Games::Bingo::Bot class (this) and the script mentioned above is a complete IRC setup for playing Bingo, using the Games::Bingo module.
These are the bingobot commands:
help - this message
play - join a game
stats - get the current statistics of the running game
pull - pull the next number
bingo - you indicate to the bot that you have bingo
pulled - shows you what number have been pulled
show - lists the numbers on your plate
The command are described below in detail (SEE COMMANDS).
Not implemented yet (SEE TODO):
auto - enables automode (automatic number pulling)
noauto - disables automode
All commands can be sent into the channel or send as private messages to the bot. The bot can repond as both of these ways aswell. The reponses are sent as follows:
help, show and all errors are always private messages
pull and bingo are always public
play, pulled, stats, auto, noauto depends on how you query
As long as the bot is online a game is running.
Download (0.006MB)
Added: 2007-01-02 License: Perl Artistic License Price:
1032 downloads
Games::WoW::PVP 0.01
Games::WoW::PVP is a Perl module with the great new Games::WoW::PVP! more>>
Games::WoW::PVP is a Perl module with the great new Games::WoW::PVP!
SYNOPSIS
Quick summary of what the module does.
Perhaps a little code snippet.
use Games::WoW::PVP;
my $WoW = Games::WoW::PVP->new();
# looking for a character
my %hash = $WoW->search_player(
{ country => EU, # EU europe US us
realm => conseil des ombres, # name of the realm
faction => h, # h horde a ally
character => raspa, # name of the player
}
);
# looking for top players
my %hash = $WoW->top(
{ country => EUR,
realm => elune,
faction => a,
}
);
<<lessSYNOPSIS
Quick summary of what the module does.
Perhaps a little code snippet.
use Games::WoW::PVP;
my $WoW = Games::WoW::PVP->new();
# looking for a character
my %hash = $WoW->search_player(
{ country => EU, # EU europe US us
realm => conseil des ombres, # name of the realm
faction => h, # h horde a ally
character => raspa, # name of the player
}
);
# looking for top players
my %hash = $WoW->top(
{ country => EUR,
realm => elune,
faction => a,
}
);
Download (0.004MB)
Added: 2007-01-05 License: Perl Artistic License Price:
1025 downloads
Games::GuessWord 0.15
Games::GuessWord is a guess the letters in a word (ie Hangman). more>>
Games::GuessWord is a guess the letters in a word (ie Hangman).
SYNOPSIS
use Games::GuessWord;
my $g = Games::GuessWord->new(file => "/path/to/wordlist");
print "Score: " . $g->score . "n";
print "Chances: " . $g->chances . "n";
print "Answer: " . $g->answer . "n";
my @guesses = $g->guesses;
$g->guess("t");
# ...
if ($g->won) {
print "You won!n";
$g->new_word;
}
This module is a simple wrapper around a word guessing game. You have to guess the word by guessing letters in the word, and is otherwise known as Hangman.
<<lessSYNOPSIS
use Games::GuessWord;
my $g = Games::GuessWord->new(file => "/path/to/wordlist");
print "Score: " . $g->score . "n";
print "Chances: " . $g->chances . "n";
print "Answer: " . $g->answer . "n";
my @guesses = $g->guesses;
$g->guess("t");
# ...
if ($g->won) {
print "You won!n";
$g->new_word;
}
This module is a simple wrapper around a word guessing game. You have to guess the word by guessing letters in the word, and is otherwise known as Hangman.
Download (0.004MB)
Added: 2007-01-06 License: Perl Artistic License Price:
1024 downloads
Acme::RTB 0.01
Acme::RTB is a Perl extension for building realtimebattle bots. more>>
Acme::RTB is a Perl extension for building realtimebattle bots.
SYNOPSIS
use Acme::RTB;
my $robot = Acme::RTB->new({ Name => Anarion PerlBot 1.0,
Colour => ff0000 ff0000,
Log => /home/anarion/perl/rtb/robot.log} );
$robot->Start;
This module will allow you to create bots for battling with realtimebattle. http://realtimebattle.sourceforge.net/
<<lessSYNOPSIS
use Acme::RTB;
my $robot = Acme::RTB->new({ Name => Anarion PerlBot 1.0,
Colour => ff0000 ff0000,
Log => /home/anarion/perl/rtb/robot.log} );
$robot->Start;
This module will allow you to create bots for battling with realtimebattle. http://realtimebattle.sourceforge.net/
Download (0.006MB)
Added: 2006-09-02 License: Perl Artistic License Price:
1151 downloads
Games::Mastermind 0.03
Games::Mastermind is a simple framework for MasterMind games. more>>
Games::Mastermind is a simple framework for MasterMind games.
SYNOPSIS
use Games::Mastermind;
# the classic game
$mm = Games::Mastermind->new;
# make a guess
$marks = $game->play(qw( Y C W R ));
# results
print "You win!n" if $marks->[0] == $mm->holes();
# the game history is available at all times
$history = $mm->history();
$last_turn = $mm->history()->[-1];
# reset the game
$mm->reset();
Games::Mastermind is a very simple framework for running Mastermind games.
<<lessSYNOPSIS
use Games::Mastermind;
# the classic game
$mm = Games::Mastermind->new;
# make a guess
$marks = $game->play(qw( Y C W R ));
# results
print "You win!n" if $marks->[0] == $mm->holes();
# the game history is available at all times
$history = $mm->history();
$last_turn = $mm->history()->[-1];
# reset the game
$mm->reset();
Games::Mastermind is a very simple framework for running Mastermind games.
Download (0.014MB)
Added: 2007-01-04 License: Perl Artistic License Price:
1024 downloads
comisat Games Collection 0.5.2
comisat Games Collection is an all-in-one free collection of games written in gambas for unix-like system. more>>
comisat Games Collection is an all-in-one free collection of games written in gambas for unix-like system. They are available in italian and (not completely) in english.
comisat Games Collection is FREE SOFTWARE, released under the terms of the GNU General Public License Version 2 as published by Free Software Fundation. You can help the development of comisat Games Collection testing the software, mailing bugs, translating the project in different languages, correcting and improving the code.
<<lesscomisat Games Collection is FREE SOFTWARE, released under the terms of the GNU General Public License Version 2 as published by Free Software Fundation. You can help the development of comisat Games Collection testing the software, mailing bugs, translating the project in different languages, correcting and improving the code.
Download (7.9MB)
Added: 2006-10-12 License: GPL (GNU General Public License) Price:
1110 downloads
Games::Go::Dg2TeX 4.026
Games::Go::Dg2TeX is a Perl extension to convert Games::Go::Diagrams to TeX. more>>
Games::Go::Dg2TeX is a Perl extension to convert Games::Go::Diagrams to TeX.
SYNOPSIS
use Games::Go::Dg2TeX
my $dg2tex = B convertDiagram($diagram);
A Games::Go::Dg2TeX object converts a Games::Go::Diagram object into TeX source code which can be used stand-alone, or it can be incorporated into larger TeX documents.
<<lessSYNOPSIS
use Games::Go::Dg2TeX
my $dg2tex = B convertDiagram($diagram);
A Games::Go::Dg2TeX object converts a Games::Go::Diagram object into TeX source code which can be used stand-alone, or it can be incorporated into larger TeX documents.
Download (0.43MB)
Added: 2006-08-08 License: Perl Artistic License Price:
1172 downloads
Amarok XM Tuner 0.01
Amarok XM Tuner is a script that allows playing of xmonline channels through Amarok. more>>
Amarok XM Tuner is a script that allows playing of xmonline channels through Amarok. Based on a shell script by B. Galliart it requires python and pycurl. You must have a valid xmonline account. The tuner is opened from the playlist.
<<less Download (0.004MB)
Added: 2007-06-25 License: GPL (GNU General Public License) Price:
856 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above games othello 0.01 search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed