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.
Ok, so there are some problems with this kata:
"{} should be {}"
and such. Maybe something should be inserted into the brackets?Maybe the second issue can be tolerated, but the first one makes the kata description misleading and contradicting with the Wikipedia data + tests, therefore, I do believe this kata should have not a misleading description (like,
you need to make pairs of counter+ordinary and ordinary+ordinary and then add the scores of the cards which don't have any pairs
or smth like that). =/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.
Something seems wrong with this Kata in Haskell. A 78 card hand should get a score of 55, but the Random tests are expecting it to have a large negative score.
Example:
-- >> tarotScore "SC15DQ0904D7D41703H3CQ0607H6051612HKH7H2SKHCHQ20D3C9CJS7D5DCS5D6C8H9S41014C7S0SQC4S2H419H001D1C3D0S3D9CKC1DJCCS821S90213C0C5S618S1D8H5H8HJ08C6DKSJ11H100C2D2"
-- (-99) % 2
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
but I don't think this is memorized
From wikipedia: this is the true score (not a simplification); the pairing method simply makes it easier to manually count points when ordinary > non-ordinary. (I don't know the game.)
https://en.wikipedia.org/wiki/French_Tarot#Scoring
Maybe tests are right and description is wrong.
This simplification is just wrong.
??? Shouldn't only ordinary cards be counted half when alone?
Random tests expect the wrong results:
There are not enough ordinary to match all 3 queens and jacks, so why
-49
?lol
Re-raised this issue because lots of languages do not have random tests.
Nice and short
Loading more items...