Character Creation Games
Games::Euchre is an Euchre card game for humans and computers. SYNOPSIS Simply run my game wrapper: % euchre.pl or write your own: use Games::Euchre; use Games::Euchre::AI::Simple; use Games::Euchre::AI::Human; my $game = Games::Euchre->new(); foreach my $i (1..3) {...
Platforms: *nix
License: Freeware | Size: 21.5 KB | Download (234): Games::Euchre Download |
Games::Euchre::Trick is a trick class for Euchre card game. Only one Trick instance is alive at one time per Euchre game. The Trick keeps track of which cards have been played, and provides useful functions to determine which cards are legal plays, as well as who is the winner of the trick....
Platforms: *nix
License: Freeware | Size: 21.5 KB | Download (161): Games::Euchre::Trick Download |
Games::Euchre::AI is a Player API for Euchre card game. This class implements a skeletal Euchre player programming interface. Subclasses can be created quite easily as interactive interfaces or AI computer players. If you wish to write your own computer player, I recommend you start with...
Platforms: *nix
License: Freeware | Size: 21.5 KB | Download (97): Games::Euchre::AI Download |
Games::Euchre::Player is a player class for Euchre card game. The four Player objects are used to interact with the humand and computer players, as well as to keep the state of the players hand, whether he bid and whether he went alone. CLASS METHODS new GAME NUMBER NAME Create and...
Platforms: *nix
License: Freeware | Size: 21.5 KB | Download (116): Games::Euchre::Player Download |
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...
Platforms: *nix
License: Freeware | Size: 7.9 MB | Download (110): comisat Games Collection Download |
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...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (98): Games::Othello Download |
Davids Perl Games project is a collection of ASCII graphics arcade style games written in Perl. These games are recreations of simple ASCII graphics games originally written in BASIC. They are ideal for use as Perl programming tutorials. Some of the first few games are PerlBlaster (defend...
Platforms: *nix
License: Freeware | Size: 64.51 KB | Download (106): Davids Perl Games Download |
Games::Tournament::RoundRobin is a Perl module for Round-Robin Tournament Schedule Pairings. SYNOPSIS $schedule = Games::Tournament::RoundRobin->new; $pairings = $schedule->indexesInRound($roundm); $round = $schedule->meeting($member1, [$member2, $member3]); ... Every member of a league...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (116): Games::Tournament::RoundRobin Download |
Games::PerlWar is a Perl variant of the classic Corewar game. This is a sparring program, similar to the programmed reality of the Matrix. It has the same basic rules, rules like gravity. What you must learn is that these rules are no different than the rules of a computer system. Some of...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (87): Games::PerlWar Download |
Games::Chess Perl module represent chess positions and games. SYNOPSIS use Games::Chess qw(:constants); my $p = Games::Chess::Position->new; $p->at(0,0,BLACK,ROOK); $p->at(7,7,WHITE,ROOK); print $p->to_text; The Games::Chess package provides the class Games::Chess::Piece to represent...
Platforms: *nix
License: Freeware | Size: 49.15 KB | Download (114): Games::Chess Download |
Games::Battleship - "You sunk my battleship!" SYNOPSIS use Games::Battleship; $g = Games::Battleship->new(qw( Gene Aeryk )); $g->add_player(Stephanie); $winner = $g->play(); print $winner->name(), " wins!n"; @player_objects = @{ $g->players }; $player_obj = $g->player(Professor...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (110): Games::Battleship Download |
Games::Battleship::Player is a Battleship player class. SYNOPSIS use Games::Battleship::Player; $aeryk = Games::Battleship::Player->new(name => Aeryk); $gene = Games::Battleship::Player->new(name => Gene); print Player 1: , $aeryk->name, "n", Player 2: , $gene->name, "n";...
Platforms: *nix
License: Freeware | Size: 11.26 KB | Download (113): Games::Battleship::Player Download |
3rd Edition Dungeons and Dragons Character Generator is an HTML/JavaScript Web page that allows the user to quickly and easily create new Dungeons and Dragons characters. The characters can be of any of the eleven classes, any of the playable races, and may start at any level from 1 to 220....
Platforms: *nix
License: Freeware | Size: 87.04 KB | Download (379): 3rd Edition Dungeons & Dragons Character Generator Download |
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 =...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (107): Games::Score Download |
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 =...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (108): Games::GuessWord Download |
Games::Mastermind::Solver::BruteForce is a Master Mind puzzle solver. SYNOPSIS # See Games::Mastermind::Solver Games::Mastermind::Solver::BruteForce uses the classical brute-force algorithm for solving Master Mind puzzles. METHODS remaining $number = $player->remaining; The number...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (214): Games::Mastermind::Solver::BruteForce Download |
Games::Mastermind::Solver is a Master Mind puzzle solver. SYNOPSIS # a trivial Mastermind solver use Games::Mastermind; use Games::Mastermind::Solver::BruteForce; my $player = Games::Mastermind::Solver::BruteForce ->new( Games::Mastermind->new ); my $try; print join( ,...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (191): Games::Mastermind::Solver Download |
Games::Blackjack is a Perl module with Blackjack Utility Classes. SYNOPSIS use Games::Blackjack; # Create new shoe of cards my $shoe = Games::Blackjack::Shoe->new(nof_decks => 4); # Create two hands, player/dealer my $player = Games::Blackjack::Hand->new(shoe => $shoe); my $dealer =...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (102): Games::Blackjack Download |
Games::ScottAdams::Tutorial is a Perl module with the Scott Adams Adventure Compiler Tutorial. INTRODUCTION This document walks you through the process of creating a small but complete and playable game with six rooms, seven items including a single treasure, and a couple of puzzles. It...
Platforms: *nix
License: Freeware | Size: 49.15 KB | Download (127): Games::ScottAdams::Tutorial Download |
Games::ScottAdams::Manual is the Scott Adams Adventure Compiler Reference Manual. SYNOPSIS # foo.sa - definition file for Scott Adams adventure "foo" %room swamp dismal swamp %exit n meadow %exit e edge %exit w grove %item mud Evil smelling mud %getdrop mud %action take mud here...
Platforms: *nix
License: Freeware | Size: 49.15 KB | Download (100): Games::ScottAdams::Manual Download |