Games::Score 0.02
Sponsored Links
Games::Score 0.02 Ranking & Summary
File size:
0.007 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1034
Date added:
2006-12-27
Publisher:
Jose Castro
Games::Score 0.02 description
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 = Games::Score->new();
my $player2 = Games::Score->new();
# set a winning condition
Games::Score->victory_is( sub { $_[0] >= 20 } );
# and something to do if it is achieved
Games::Score->on_victory_do( sub { print "Won!" } );
# give points to the players
$player1->add(2);
$player2->step();
# look at section FUNCTIONS for more functionalities, such as
Games::Score->invalidate_if( sub { $_[0] > 20 } );
Games::Score can be use to keep track of several players points in a game, regardless of the starting amount of points, winning and/or losing conditions, etc.
It provides several useful methods so that the user doesnt have to keep testing values to see if theyre valid or if the player condition has changed.
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 = Games::Score->new();
my $player2 = Games::Score->new();
# set a winning condition
Games::Score->victory_is( sub { $_[0] >= 20 } );
# and something to do if it is achieved
Games::Score->on_victory_do( sub { print "Won!" } );
# give points to the players
$player1->add(2);
$player2->step();
# look at section FUNCTIONS for more functionalities, such as
Games::Score->invalidate_if( sub { $_[0] > 20 } );
Games::Score can be use to keep track of several players points in a game, regardless of the starting amount of points, winning and/or losing conditions, etc.
It provides several useful methods so that the user doesnt have to keep testing values to see if theyre valid or if the player condition has changed.
Games::Score 0.02 Screenshot
Games::Score 0.02 Keywords
Score 0.02
to keep track
to keep
keep track
in games
Perl module
score
track
Perl
module
games
0.02
Games::Score
GamesScore
Games::Score 0.02
Libraries
Bookmark Games::Score 0.02
Games::Score 0.02 Copyright
WareSeeker periodically updates pricing and software information of Games::Score 0.02 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Games::Score 0.02 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
how to keep track of inventory
forms to keep track of expenses
keep track of
keep track of calories
use beads to keep track of glasses of water you drink
keep track on
keep track of body measurements
keep tracking
they also keep track
perl modules
jump in games
keep track of bills
easily keep track
how to keep track of accounts receivable templates
keep track of your money
keep track of software licensing
trade in games
keep track of what you eat
Related Software
Test::TestCoverage is Perl module to test if your test covers all public subroutines of the package. Free Download
Games::WoW::PVP is a Perl module with the great new Games::WoW::PVP! Free Download
Games::Sudoku::General is a Perl module that can solve sudoku-like puzzles. Free Download
Locale::Memories is a Perl module for L10N Message Retrieval. Free Download
Geo::Coder::Yahoo is a Perl module with geocode addresses with the Yahoo! API. Free Download
PerlIO is a Perl module created to load on demand PerlIO layers and root of PerlIO::* name space. Free Download
Acme::Tests is a Perl module to see how much do you know. Free Download
App::Manager is a Perl module for installing, managing and uninstalling software packages. Free Download
Latest Software
Popular Software
Favourite Software