Aaa Math Games
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 |
RPN is a Perl extension for Reverse Polish Math Expression Evaluation. SYNOPSIS use Math::RPN; $value=rpn(expr...); @array=rpn(expr...); expr... is one or more scalars or lists of scalars which contain RPN expressions. An RPN expression is a series of numbers and/or operators separated...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (93): Math::RPN 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 |
Math::Roman contains arbitrary sized Roman numbers and conversion from and to Arabic. SYNOPSIS use Math::Roman qw(roman); $a = new Math::Roman MCMLXXIII; # 1973 $b = roman(MCMLXI); # 1961 print $a - $b,"n"; # prints XII $d = Math::Roman->bzero(); # $d++; # I $d += 1998; # MCMXCIX $d...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (151): Math::Roman Download |
Math::BigInt::Calc is a pure Perl module to support Math::BigInt. SYNOPSIS Provides support for big integer calculations. Not intended to be used by other modules. Other modules which sport the same functions can also be used to support Math::BigInt, like Math::BigInt::GMP or...
Platforms: *nix
License: Freeware | Size: 194.56 KB | Download (96): Math::BigInt::Calc Download |
Games::Console Perl module provide a 2D quake style in-game console. SYNOPSIS use Games::Console; my $console = Games::Console->new( font => $font_object, background_color => [ 1,1,0], background_alpha => 0.4, text_color => [ 1,1,1 ], text_alpha => 1, speed => 50, # in percent per...
Platforms: *nix
License: Freeware | Size: 21.5 KB | Download (97): Games::Console Download |
Math::BigInt is an arbitrary size integer/float math package. SYNOPSIS use Math::BigInt; # or make it faster: install (optional) Math::BigInt::GMP # and always use (it will fall back to pure Perl if the # GMP library is not installed): # will warn if Math::BigInt::GMP cannot be found...
Platforms: *nix
License: Freeware | Size: 194.56 KB | Download (89): Math::BigInt 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 |
Math::Algebra::Symbols is a Symbolic Algebra in Pure Perl. SYNOPSIS Example symbols.pl #!perl -w -I.. use Math::Algebra::Symbols hyper=>1; use Test::Simple tests=>5; ($n, $x, $y) = symbols(qw(n x y)); $a += ($x**8 - 1)/($x-1); $b += sin($x)**2 + cos($x)**2; $c += (sin($n*$x) +...
Platforms: *nix
License: Freeware | Size: 102.4 KB | Download (162): Math::Algebra::Symbols Download |
Math::Zap::Triangle2 - triangles in 2D space. Synopsis Example t/triangle2.t #_ Triangle ___________________________________________________________ # Test 2d triangles # philiprbrenan@yahoo.com, 2004, Perl License #______________________________________________________________________...
Platforms: *nix
License: Freeware | Size: 63.49 KB | Download (89): Math::Zap::Triangle2 Download |
Math::Zap::Triangle module can build triangles in 3D space. Synopsis Example t/triangle.t #_ Triangle ___________________________________________________________ # Test 3d triangles # philiprbrenan@yahoo.com, 2004, Perl License...
Platforms: *nix
License: Freeware | Size: 63.49 KB | Download (115): Math::Zap::Triangle Download |
Math::Zap::Matrix is a Perl module for 3*3 matrix manipulation. Synopsis Example t/matrix.t #_ Matrix _____________________________________________________________ # Test 3*3 matrices # philiprbrenan@yahoo.com, 2004, Perl License...
Platforms: *nix
License: Freeware | Size: 63.49 KB | Download (189): Math::Zap::Matrix Download |
Math::Zap::Matrix2 is a Perl module for 2*2 matrix manipulation. Synopsis Example t/matrix2.t #_ Matrix _____________________________________________________________ # Test 2*2 matrices # philiprbrenan@yahoo.com, 2004, Perl License...
Platforms: *nix
License: Freeware | Size: 63.49 KB | Download (96): Math::Zap::Matrix2 Download |
Math::Zap::Rectangle is a Perl module that generates rectangles in 3d space. Synopsis Example t/rectangle.t #_ Rectangle __________________________________________________________ # Test 3d rectangles # philiprbrenan@yahoo.com, 2004, Perl License...
Platforms: *nix
License: Freeware | Size: 63.49 KB | Download (98): Math::Zap::Rectangle 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 |
Math::BaseCnv is a fast functions to convert between number bases. SYNOPSIS use Math::BaseCnv; # Convert 63 from base-10 (decimal) to base-2 (binary) $binary_63 = cnv( 63, 10, 2 ); BaseCnv provides a few simple functions for converting between arbitrary number bases. It is as fast as I...
Platforms: *nix
License: Freeware | Size: 13.31 KB | Download (102): Math::BaseCnv Download |
Math::TotalBuilder::Common is a Perl module with common unit sets for building totals. SYNOPSIS use Math::TotalBuilder; use Math::TotalBuilder::Common; # units for 952 pence my %tender = build($Math::TotalBuilder::Common::uk_money_old, 952); This package is just a set of common sets of...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (93): Math::TotalBuilder::Common Download |
Math Objects is a math template library written in C++ using generic programming techniques. In order to use the "Math Objects" library, the user only has to include the header files he needs (e.g. Matrix.h, Polynomial.h etc.). In order to compile the library the user needs an ISO/IEC...
Platforms: *nix
License: Freeware | Size: 286.72 KB | Download (92): Math Objects Download |
Math::Group::Thompson Perl module contains OO methods that calculates the cardinality of the ball of radius n of Thompson group F. SYNOPSIS use Math::Group::Thompson; my $F = Math::Group::Thompson->new( VERBOSE => 0 ); my $card = $F->cardBn(3,); print "#B(3) = $cardn"; The...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (91): Math::Group::Thompson Download |
Games::Alak is a simple game-tree implementation of a gomoku-like game. SYNOPSIS % perl -MGames::Alak -e Games::Alak::play ...Or just run Alak.pm as if it were a program... ...Program responds with output, and a prompt: Lookahead set to 3. I am X, you are O. Enter h for help X moves...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (120): Games::Alak Download |