Speed Typing Games
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 (268): 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 (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 |
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 |
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 |
Java Games project is a collection of simple games that are compiled into Java applets and meant to be played online in a Web browser. Currently the collection contains four games: XO World (similar to tic-tac-toe, but with lines of 5 on a 10x10 board); 100 Mack (guess the random combination of...
Platforms: *nix
License: Freeware | Size: 133.12 KB | Download (596): Java Games Download |
Games::Object is a Perl module to provide a base class for game objects. SYNOPSIS package MyGameObject; use Games::Object; use vars qw(@ISA); @ISA = qw(Games::Object); sub new { # Create object my $proto = shift; my $class = ref($proto) || $proto; my $self = $class->SUPER::new(@_);...
Platforms: *nix
License: Freeware | Size: 84.99 KB | Download (89): Games::Object Download |
Games::Go::SGF2misc::SVG is a Perl package to simplify SGF game rendering using Image::LibrSVG. SYNOPSIS use Games::Go::SGF2misc::SVG; my $image = new Games::Go::SGF2misc::SVG(imagesize => 3in, boardsize => 19, gobanColor=> white ); $image->drawGoban(); $image->placeStone(b,cd);...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (100): Games::Go::SGF2misc::SVG Download |
Typing Trainer is an application suite that is directed towards students, from the novice to those who have the basic knowledge of the kebyoard finger layout, and want to train and exercise their expertese in typing. The design of the latter program, also allows for an environment where students...
Platforms: *nix
License: Freeware | Size: 1.2 MB | Download (313): Typing Trainer Download |
Games::OpenGL::Font::2D module can load/render 2D colored bitmap fonts via OpenGL. SYNOPSIS use Games::OpenGL::Font::2D; my $font = Games::OpenGL::Font::2D->new( file => font.bmp ); use SDL::App::FPS; my $app = SDL::App::FPS->new( ... ); # dont forget to change these on resize...
Platforms: *nix
License: Freeware | Size: 22.53 KB | Download (171): Games::OpenGL::Font::2D Download |
Games::Dice is a Perl module that can be used to simulate dice rolls. SYNOPSIS use Games::Dice roll; $strength = roll 3d6+1; use Games::Dice roll_array; @rolls = roll_array 4d8; Games::Dice simulates die rolls. It uses a function-oriented (not object-oriented) interface. No functions...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (99): Games::Dice Download |
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...
Platforms: *nix
License: Freeware | Size: 14.34 KB | Download (105): Games::Mastermind Download |
TDFinder is a widget to support preparing Go tournament registration. SYNOPSIS use Games::Go::TDFinder; $tdFinder = $parent->Games::Go::TDFinder ( ? options ? ); TDFinder is a widget to assist in preparing a Go Tournament register.tde file in AGA (American Go Association) format. It...
Platforms: *nix
License: Freeware | Size: 63.49 KB | Download (95): Games::Go::TDFinder Download |