Ad
  • Custom User Avatar

    Small issue:
    A typo error in the sample test. The pony 'g' should be replaced with the correct pony name.

  • Custom User Avatar

    I see that there are currently 11,110 total random spin tests and I would like to add to this issue for clarity;

    • I don't think this is a performance kata so there shouldn't be so much spins in one test. Adding multiple tests with smaller spins should do.
    • You do not need that much tests to pass solutions. Chances of getting 6 ponies in a spin is 1/46656 but you can modify the random input generator to specifically target rare cases

    I hope this helps you in resolving this issue. I understand this is your first kata.

  • Custom User Avatar

    More random tests (30-50 of them considering the nature of the kata) preferably with random lengths are highly recommended.

  • Custom User Avatar

    However, I am unsure whether this is enough for a duplicate.

  • Custom User Avatar
  • Custom User Avatar

    I think i have seen a kata like this. Please check

  • Custom User Avatar

    This is my first attempt at a Kata. For those that leave neutral or negative ratings, I would love some feedback on how I can improve. Thanks!

  • Custom User Avatar

    .

  • Custom User Avatar

    Don't forget to add a disclaimer that gambling is for adults only.

  • Custom User Avatar

    A simple trivial map/filter/reduce algo lacks any novelty and has already been overdone.

  • Custom User Avatar

    No random tests.

  • Custom User Avatar

    Solution is in the set-up.