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


Games-Bowling-Scorecard documentation  | view source Contained in the Games-Bowling-Scorecard distribution.

Index


NAME

Top

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

VERSION

Top

version 0.103

DESCRIPTION

Top

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

Top

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

Top

Ricardo SIGNES, <rjbs at cpan.org>

BUGS

Top

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

Top


Games-Bowling-Scorecard documentation  | view source Contained in the Games-Bowling-Scorecard distribution.