Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Rejected:
No sample tests
No random tests
Outdated version
Initial solution setup does not specify input and output type
NUnit framework should be used instead
The second bonus value would be 1. So, you'd count 10 for the strike, 10 for the bonus on the strike, 10 for the spare (9/) and the next ball rolled as a bonus on the strike. So imagine a game if the first three frames looked like this:
X 9/ 23
So, the X would be 20 points (10 + 10), the 9/ frame would be 12 (10+2), and the 23 frame would be 5.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This is an awesome solution!
This is awesome! I love how you used the filter and collect functions, but you could have gotten away with limiting the size of the range to (2..(integer/2)+1).