Games::Bowling::Scorecard

Score your bowling game easily
Download

Games::Bowling::Scorecard Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ricardo Signes
  • Publisher web site:
  • http://search.cpan.org/~rjbs/

Games::Bowling::Scorecard Tags


Games::Bowling::Scorecard Description

Score your bowling game easily Games::Bowling::Scorecard is a Perl module to score your bowling game easily.SYNOPSIS use Games::Bowling::Scorecard; my $card = Games::Bowling::Scorecard->new; $card->record(6,1); # slow start $card->record(7,2); # getting better $card->record(10); # strike! $card->record(9,1); # picked up a spare $card->record(10) for 1 .. 3; # turkey! $card->record(0,0); # clearly distracted by something $card->record(8,2); # amazingly picked up 7-10 split $card->record(10, 9, 1); # pick up a bonus spare printf "total score: %u ", $card->score; # total score: 156, lousy!Scoring ten-pin bowling can be confusing for new players. Frames can't always be scored until several frames later, and then there's that weird tenth frame. Modern bowling alleys incorporate computer scoring into the pin cleanup mechanism, so it's easy to just concentrate on throwing a perfect game and not on grease-pencilling the sheet for the overhead.What's one to do, though, when bowling cantaloupes at beer bottles in one's back yard? Now, with Games::Bowling::Scorecard, it's easy to improvise a scoring device -- maybe on a mobile phone running Symbian Perl. Requirements: · Perl


Games::Bowling::Scorecard Related Software