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.
Improve test case logging. This means nothing:
This section seems redundant and should be removed. (also it's missing BLACK, RED choices)
Having multiple different output types is bad.
Having multiple different input types is bad.
'RED'
and'BLACK'
should be listed in "Player Choices on the Board"According to wikipedia
15
should be black, not red.Please use appropriate datatypes.
"Winnings"
can just be a positive number;"No winnings"
could just be number0
; there is no reason to special case"No bets"
( and example 4 doesn't !! ); "Not enough money" should throw an error.Strings are always suspect, and very often just plain wrong.
There're already many katas about "drawing" various shapes, and it is especially similar to this one.
no random tests
testing should use the latest version with
it
blocksWhy should I ignore "honesty = 106" but not "mroftvj = 104"?
hi,
the rules for tie breaking aren't explained while they aren't obvious at all.
import gem