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.
I changed the description according to your first comment.
Can you be more specific about the 2nd one? I do not understand what you are referring to.
That's weird. I cannot reproduce this issue.
The expected score for random tests is computed with my solution as reference : https://www.codewars.com/kata/reviews/5868f6c57ba2f53c2100001e/groups/5868f6c57ba2f53c21000020
For the given example, it computes 55.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
No problem.
Let me know how I can help or fix anything if issues are raised.
I was able to submit the final solution (Haskell) by hardcoding 5 values.
This kata definitely needs more verifications such as random test cases.
Hello,
I proposed a C# translation but I'm not sure what else I should do about it (this is my 1st kata translation ever)
Ok. I completed the specs with: If the number of cards is odd, the last ordinary card will count for ½ point.
And I updated the Haskell initial setup to make it clear that the function returns a Rational.
@JohanWiltink
I thought about using "T" for ten instead of "0" but could not decide what's best.
2 ordinary cards are worth 1 point, so 1 ordinary card is worth 0.5 point :-)
This is also standard practice when playing with 3 or 5 players to count half-points when you get an odd number of cards. This does not happen in a standard 4 players setup.
From the kata perspective, this is a "hidden spec". I did not elaborate on this one on purpose in the description.
Do you think I should mention it? Or stay as is so that the developper thinks about it during the kata solving process?
Thanks for trying the kata!
Thanks for spotting this one.
This will teach me a lesson about copy-pasting...
I think the issue is solved now.
As others pointed out, warning on tab chars in haskell prevents from submitting the final solution.
I should have skipped this one so I put it in caps :
THIS KATA IS BROKEN IN HASKELL. DO NOT WASTE YOUR TIME.
C#
As far as I am concerned, it is winnable :-)
I could be wrong but I don't think the system allows the opponent to know the move in advance. I think that both players are on the same level of information.
Loading more items...