Main > Programming > Libraries >

Games::Score 0.02

Games::Score 0.02

Sponsored Links

Games::Score 0.02 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
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.

Games::Score 0.02 Screenshot

Advertisements

Games::Score 0.02 Keywords

Bookmark Games::Score 0.02

Hyperlink code:
Link for forum:

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

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
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