Ricardo SIGNES > Games-Bowling-Scorecard-0.103 > Games::Bowling::Scorecard::Frame::TenPinTenth

Download:
Games-Bowling-Scorecard-0.103.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.103   Source   Latest Release: Games-Bowling-Scorecard-0.105

NAME ^

Games::Bowling::Scorecard::Frame::TenPinTenth - ten pin's weird 10th frame

VERSION ^

version 0.103

DESCRIPTION ^

The tenth frame of ten pin bowling is weird. If you bowl a strike or spare, you're allowed to throw balls to complete the frame's scoring. The extra balls are only counted for bonus points. In other words, if the first two balls in the tenth frame are strikes, the second ball is not counted as a "pending" strike. If this is confusing, don't worry! That's why you're using this module.

METHODS ^

is_done

The tenth frame is done if: (a) three balls have been bowled or (b) two balls have been bowled, totalling less than ten.

is_pending

The tenth frame is never pending. Once it's done, its score is final.

roll_ok

The tenth frame's roll_ok is identical to the standard roll_ok, but replaces the "can't total more than 10" rule with a more complex rule.

AUTHOR ^

Ricardo SIGNES, <rjbs at cpan.org>

BUGS ^

Please report any bugs or feature requests to the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Games-Bowling-Scorecard. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT & LICENSE ^

Copyright 2007 Ricardo SIGNES, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: