Main > Programming > Others >

Games::Roshambo 1.01

Games::Roshambo 1.01

Sponsored Links

Games::Roshambo 1.01 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size:
Platform: Any Platform
License: Perl Artistic License
Price: FREE
Downloads: 17
Date added: 2009-05-14
Publisher: Chris Thompson

Games::Roshambo 1.01 description

Games:Roshambo 1.01 is a brilliant module which manages a game of Rock/Paper/Scissors, aka Roshambo

Major Features:

  1. You can specify an optional hashref containing configuration items.
  2. Valid configuration items are: numthrows
  3. The number of separate valid throws for a game, for example, in Rock, Paper, Scissors, there are 3 throws, while in a spirited game of RPS-101, there are 101 valid throws. If not specified, this defaults to 3.
  4. sortable
  5. OPTIONAL: Behold the madness of Chris Prather. Passing a TRUE value to new for this item will cause the judge method to return values of -1 if Player 1 wins, 0 for a tie and 1 for Player 2, instead of the 0, 1 and 2 it does normally.
  6. The entirely dubious benefit of this is that the function can be used in conjunction with sort. It's his fault. He asked for it. Any questions as to the relative usefulness of this should be directed at him. The management disavows all knowledge.
  7. This method will judge a game of RPS, returning a 1 for Player 1 winning, a 2 for Player 2, and a 0 for a tie.
  8. It takes up to two arguments, indicating the throws for Player 1 and Player 2, as text representations.
  9. If one or both arguments are omitted, the method will internally call $self->gen_throw to randomly generate one.
  10. getaction
  11. When called with two throws, this will return the text of the action for this combination. For example, if called as $rps-getaction("rock", "paper")> the returned value will be "covers".
  12. This module contains actions for three throw (Rock, Paper, Scissors) and 101 throw games, in any other number of throws, this method will return undef.

Requirements: Perl

Games::Roshambo 1.01 Screenshot

Advertisements

Games::Roshambo 1.01 Keywords

Bookmark Games::Roshambo 1.01

Hyperlink code:
Link for forum:

Games::Roshambo 1.01 Copyright

WareSeeker periodically updates pricing and software information of Games::Roshambo 1.01 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::Roshambo 1.01 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
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. Free Download
Timestamp::Simple is a Perl module with simple methods for timestamping. Free Download
Games::Sudoku::General is a Perl module that can solve sudoku-like puzzles. Free Download
Test::CPANpm is a Perl module to test a distributions interaction with CPAN before uploading. Free Download
Pathan-P provides Perl bindings for Pathan 1. Free Download
Test::Data is a Perl module to test functions for particular variable types. Free Download
ExtUtils::Embed is a Perl module with utilities for embedding Perl in C/C++ applications. Free Download
Perl OpenID is a perl module for verifying OpenID identities. Free Download