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.
Wow, I didn't know about all that!
Thank you so much :D
Awww, I'm sad to hear that... :(
I guess I'll just create an entirely new idea for a kata...
Nevermind, sorry
Sorry to disturb, but for some reason the code is not working...
I've tried the following code and the initial function solves it????
test.assert_approx_equals(average_score(case), eval, 0.00001)
Thanks, much appreciated!
I'm still getting used to this whole interface...
Fixed.
...yes
:}
Thanks for the feedback! You're clearly a much better programmer than I am.
:D
I'm marking this issue as resolved so I can re-publish the Kata
(I think that's how that works...)
I cleared up the wording.
Exactly two cards of the same value is worth 2 points
Exactly four cards of the same value is worth 12 points
Thus, four cards of the same type (e.g. four jacks) is worth 12 points.
For another scenario, two jacks and two queens would be worth 4 points.
Fixed.
Sorry, I fixed that :)
I'm so sorry! this is my first kata :'(
I'll get the issue solved ASAP
Hey Voile, sorry about the unclear wording.
4 cards of the same type is worth 12 points.
Because you only count each card once, a collection of four cards of the same type would then subsequently not be counted as pairs.
I hope this clears up the confusion :)
You have a very good point, and I was hoping that nobody would exploit that issue, but alas...
I think I have fixed the test cases to be random :D
Loading more items...