Classic Games
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 |
Secret Maryo Chronicles is an Open Source two-dimensional platform game with a style designed similar to classic sidescroller games. The game utilizes the platform independent library, SDL and since Version 0.98 also the OpenGL accelerated Graphics Renderer developed in C++.. Secret Maryo...
Platforms: *nix
License: Freeware | Size: 10.5 MB | Download (112): Secret Maryo Chronicles Download |
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...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (187): Games::WoW::PVP Download |
Games::Maze::SVG::Manual is a Perl module with manual for the Games::Maze::SVG modules. PURPOSE The Games::Maze::SVG module supports the creation of 2-dimensional mazes in an SVG format suitable for printing or playing interactively. This module use the Games::Maze module to perform the...
Platforms: *nix
License: Freeware | Size: 35.84 KB | Download (104): Games::Maze::SVG::Manual 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::Craft is a Battleship craft class. SYNOPSIS use Games::Battleship::Craft; my $craft = Games::Battleship::Craft->new( id => T, name => tug boat, points => 1, ) $points_remaining = $craft->hit; A Games::Battleship::Craft object represents the profile of a Battleship...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (274): Games::Battleship::Craft 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 (116): 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 |
Worminator 3 is akin to many Apogee Software and ID Software classic action games such as Duke Nukem and Commander Keen. In Worminator game, you play as The Worminator (or as several other optional characters) and fight your way through many levels of madness and mayhem. It features nine...
Platforms: *nix
License: Freeware | Size: 174.08 KB | Download (107): Worminator 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 |
LexJongg is an Allegro version of the classic puzzle game. Features several board layouts and even has an (unsupported) editor allowing you to create your own board layouts. This game was written as a preparation for BlitzHack and took just 9h (including gfx). Allegro really makes it easy to...
Platforms: *nix
License: Freeware | Size: 942.08 KB | Download (100): Lex-Jongg 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 |
Untahris Common Playground - you can play several classic fun, simple arcade games. But playing alone is not fun, and you can play them in multiplayer mode (on one computer, local network, or maybe Internet). Now, Untahris has an original experimental feature, which makes it more than just a...
Platforms: *nix
License: Freeware | Size: 1024 KB | Download (92): Untahris Common Playground 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 |
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)) {...
Platforms: *nix
License: Freeware | Size: 286.72 KB | Download (124): Games::Checkers Download |