Math Playground Games
Games::Baseball::Scorecard is a Perl module. SYNOPSIS my $score = Games::Baseball::Scorecard->new($dir, $name, { color => [ .4, .4, .4 ], # grey fonts => [ # Myriad Condensed regular/bold [ myriadrcrrl => 9 ], [ myriadrcbrl => 14 ], [ myriadrcrrl => 14 ], [ myriadrcbrl => 22 ], ], });...
Platforms: *nix
License: Freeware | Size: 348.16 KB | Download (183): Games::Baseball::Scorecard Download |
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 (167): 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 (116): 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 |
SYNOPSIS use Math::FresnelZone; use Math::FresnelZone qw(fresnel fresnelMi fresnelKm); The arguments are: 0 - distance in kilometers or miles (default is 1), 1 - frequency in GHz (defualt 2.4), 2 - set to true to specify that the distance you are inputting is in miles and that the...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (101): Math::FresnelZone Download |
Math::HashSum can sum a list of key-value pairs on a per-key basis. SYNOPSIS use Math::HashSum qw(hashsum); my %hash1 = (a=>.1, b=>.4); my %hash2 = (a=>.2, b=>.5); my %sum = hashsum(%hash1,%hash2); print "$sum{a}n"; # Prints .3 print "$sum{b}n"; # Prints .9 This module allows you to...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (89): Math::HashSum Download |
Math::Numbers is a Perl module that contains methods for mathematical approaches of concepts of the number theory. SYNOPSIS use Math::Numbers; my $a = 123; my $b = 34; my $numbers = Math::Numbers->new($a, $b [, ...]); print "They are coprimes (relatively primes)!n" if...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (104): Math::Numbers 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 |
Math::CDF is a Perl module to generate probabilities and quantiles from several statistical probability functions. SYNOPSIS use Math::CDF; $prob = &Math::CDF::pnorm(1.96); if( not defined($z = &Math::CDF::qnorm(0.975)) ) { die "qnorm() failed"; } or use Math::CDF qw(:all); $prob =...
Platforms: *nix
License: Freeware | Size: 65.54 KB | Download (129): Math::CDF Download |
Math::Vec is a Object-Oriented Vector Math Methods in Perl. SYNOPSIS use Math::Vec; $v = Math::Vec->new(0,1,2); or use Math::Vec qw(NewVec); $v = NewVec(0,1,2); @res = $v->Cross([1,2.5,0]); $p = NewVec(@res); $q = $p->Dot([0,1,0]); or use Math::Vec qw(:terse); $v = V(0,1,2); $q...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (110): Math::Vec Download |
Math::Telephony::ErlangC is a Perl extension for Erlang C calculations. SYNOPSIS use Math::Telephony::ErlangC; # Evaluate probability that a service request will have to wait $wprob = wait_probability($traffic, $servers); # Probability that the wait time will be less than a fixed maximum...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (138): Math::Telephony::ErlangC Download |
Math::Telephony::ErlangB is a Perl extension for Erlang B calculations. SYNOPSIS use Math::Telephony::ErlangB qw( :all ); # Evaluate blocking probability $bprob = blocking_probability($traffic, $servers); $gos = gos($traffic, $servers); # Same result as above # Dimension minimum number...
Platforms: *nix
License: Freeware | Size: 24.58 KB | Download (259): Math::Telephony::ErlangB 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 |
Math::Expr is a Perl module that parses mathematical expressions. SYNOPSIS require Math::Expr; $p=new Math::Expr; $e=$p->Parse("a+4*b-d/log(s)+f(d,e)"); Parses mathematical expressions into a tree structure. The expressions may contain integers, real numbers, alphanumeric variable names,...
Platforms: *nix
License: Freeware | Size: 13.31 KB | Download (99): Math::Expr Download |
Math::BaseCalc is a Perl module that can convert numbers between various bases. SYNOPSIS use Math::BaseCalc; my $calc = new Math::BaseCalc(digits => [0,1]); #Binary my $bin_string = $calc->to_base(465); # Convert 465 to binary $calc->digits(oct); # Octal my $number =...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (93): Math::BaseCalc 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 |