Challenge Suggestion: Ten-Pin Bowling Score Calculator

Add a reply

Posted by Mark Byers 693 days ago:
Given the number of pins knocked down in each round by a player, calculate the total score for that player.

Explanation of scoring system with examples here:

http://en.wikipedia.org/wiki/Ten-pin_bowling#Scoring

Example Input:

5 3
X
4 /
1 5
- 4

Example Output

48 (Calculated in my head, so could be wrong!)

What do you think? Has any site done this before?
Posted by Mark Byers 693 days ago:
Hmm, this post looks like it might be related to a perl golf challenge for a ten-pin bowling score calculator: http://www.nntp.perl.org/group/perl.golf/2111

I can't find the original contest though.
Posted by Mark Byers 692 days ago:
OK, it has been done before.

:(

Add a reply