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 can mention here a lot of "duplicate" problems in CodeWars. What do you identify as a "duplicate problem"?
It is duplicate because the solution is quite the same for another problem.
But the story of the problem is different, and it's the developer/user job to identify the kind of problem and solve it accordingly.
The order of match flows is clarified in description.
You right - this is up-to k matches and NOT best-of-k.
I updated the description and fixed the first sample test (no argument)
Thanks
Hi guys, I will clarify that more in the description.
Score step is 1 means every scoring increases by 1 (like in soccer, ping-pong) not in basketball where there is 2pt and 3pt shots.
"Best of k" is actually a mistake. I meant the first to score k points wins
I fixed that in preloaded
Fixed this issue - Test logs only "Test result: True/False"
I updated description:
See: - EVEN - for even numbers (including zero)
BTW, in Roulette the odds for payouts are calculated carefully so the Casino won't lose money - that's correct.
The rules are not trivial, so I made this kata a simple for coding.
Fixed this issue. Thanks
Added those payouts. Thanks
I see what you suggest Johan. Actually I wanted to make this kata interactive as if it was a function inside Roulette interactive game.
Enum would be a good practice here instead of just strings.
This is actually my first kata :) I made this kata so fast that I did not give much thinking about every technical detail.
Next kata would be much better ;)
I fixed the description (Fourth Example)
Not clear test: 'two hundred three thousand' -> should be 203000
For my understand: 203000 = twenty three thousand OR two hundred and three thousand
I see. I'll change the goal
I updated the description. I think I confused with "descending order" - I removed it.
If two words are with the same value, then the order should be the original.
If for example 'abc' comes before 'cba' and they have the same value, then 'abc' should show earlier than 'cba'
Loading more items...