Rational Number Games
Convert::Number::Digits is a Perl module that convert Digits Between the Scripts of Unicode. SYNOPSIS use utf8; require Convert::Number::Digits; my $number = 12345; my $d = new Convert::Number::Digits ( $number ); print "$number => ", $d->toArabic, "n"; my $gujarti = $d->toGujarti; my...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (105): Convert::Number::Digits Download |
Test::Number::Delta is a Perl module to compare the difference between numbers against a given tolerance. SYNOPSIS # Import test functions use Test::Number::Delta; # Equality test with default tolerance delta_ok( 1e-5, 2e-5, values within 1e-6); # Inequality test with default tolerance...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (97): Test::Number::Delta 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 |
The Ace of Penguins is a set of Unix/X solitaire games based on the ones available for Windows(tm) but with a number of enhancements that my wife says make my versions better. The latest version includes clones of freecell, golf, mastermind, merlin, minesweeper, pegged, solitaire, taipei (with...
Platforms: *nix
License: Freeware | Size: 307.2 KB | Download (99): The Ace Of Pinguins 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::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 |
Number::Encode is a Perl module to encode bit strings into digit strings. SYNOPSIS use Number::Encode qw(nonuniform uniform); Provides a mechanism to convert arbitrary bit-strings into numeric digit strings. The transformation can be uniform or non-uniform depending on the type of...
Platforms: *nix
License: Freeware | Size: 2.05 KB | Download (107): Number::Encode 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 |
FLTK Sudoku is an implementation of the popular Sudoku game (sometimes called Number Place) based on the Fast Light Toolkit. FLTK Sudoku features an infinite number of games and four difficulty settings, from Easy to Impossible. Sudoku (pronounced soo-dough-coo with the emphasis on the first...
Platforms: *nix
License: Freeware | Size: 112.64 KB | Download (97): FLTK Sudoku 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::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 |
Number::WithError is a Perl module that contains numbers with error propagation and scientific rounding. SYNOPSIS use Number::WithError; my $num = Number::WithError->new(5.647, 0.31); print $num . "n"; # prints 5.65e+00 +/- 3.1e-01 # (I.e. it automatically does scientific rounding) my...
Platforms: *nix
License: Freeware | Size: 27.65 KB | Download (89): Number::WithError Download |