Games::AffenspielPlay the Affenspiel game | |
Download |
Games::Affenspiel Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Mikhael Goikhman
- Publisher web site:
- http://search.cpan.org/~migo/
Games::Affenspiel Tags
Games::Affenspiel Description
Play the Affenspiel game Games::Affenspiel is a Perl module to play the Affenspiel game.SYNOPSIS # automatical random play script use Games::Affenspiel::Board; my $board = Games::Affenspiel::Board->new; $board->show; for (1 .. 5000) { sleep(1); my ($bar, $gap_position, $direction) = $board->choose_random_move; print "Move bar $bar in direction $direction to $gap_position "; $board->show; }ABSTRACTGames::Affenspiel is a set of Perl classes implementing the Affenspiel game play. Requirements: · Perl
Games::Affenspiel Related Software