Ad
  • Custom User Avatar

    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.

  • Custom User Avatar

    The order of match flows is clarified in description.

  • Custom User Avatar

    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

  • Custom User Avatar

    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

  • Custom User Avatar

    I fixed that in preloaded

  • Custom User Avatar

    Fixed this issue - Test logs only "Test result: True/False"

  • Custom User Avatar

    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.

  • Custom User Avatar

    Fixed this issue. Thanks

  • Custom User Avatar

    Added those payouts. Thanks

  • Custom User Avatar

    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 ;)

  • Custom User Avatar

    I fixed the description (Fourth Example)

  • Custom User Avatar

    Not clear test: 'two hundred three thousand' -> should be 203000
    For my understand: 203000 = twenty three thousand OR two hundred and three thousand

  • Custom User Avatar

    I see. I'll change the goal

  • Custom User Avatar

    I updated the description. I think I confused with "descending order" - I removed it.

  • Custom User Avatar

    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...