Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    It would be nice if the instructions described the returned value for each function. I figured the functions returned nothing, but the tests required the functions to return values.

  • Default User Avatar

    Agreed. Just goes to show that having friends that don't know anything really messes up your life.

  • Default User Avatar

    Ahhh, crap. I thought I'd searched thoroughly to not have created a dup, but you're dead on. This is definitely a copy of that one and that one is better, so I'll unpublish this.

    Thanks!

  • Default User Avatar

    In the example tests, in the third test, "valid child3" is included twice. This caused a duplicate ID error for my map. The actual kata tests didn't have this scenario so it's probably an errant duplicate?

    Fun kata. THANKS!

  • Default User Avatar

    Great catch. I took it for granted that it would fail if not resolved, but it just skipped all the tests and succeeded! It now has a check that the Promise comes back resolved.

  • Default User Avatar

    It was cool to see different ways to solve this, so I don't see one option being better than the other. I'll add to the description that the Promise must be resolved.

  • Default User Avatar

    3rd argument removed for clarity. Thanks!

  • Default User Avatar

    Order has been swapped. Thanks!

  • Default User Avatar

    Fun kata. What should ctrl_a('test08it') return? 'test09it' or 'test9it'? Thanks

  • Default User Avatar

    The title is a play on the game show The Price is Right. Happy Gilmore has Bob Barker in it. A quote from Happy Gilmore from Bob has swearing. I didn't want to abuse any code warrior's sensitive untainted eyes, so I used the direct definition of the swear. HA!

  • Default User Avatar

    That code is removed from the preloaded area and added to the actual tests. For some reason I thought that preloaed wasn't overridable but I see now that it is loaded before the user's solution. Thanks

  • Default User Avatar

    Didn't know about assertDeepEquals. It now uses this for comparison checking and it's awesome!

    The max puzzle size is shrunk to 50X50 so that it doesn't get such huge output, yet the solving algorithm doesn't change at all. Plus assertDeepEquals was choking on memory usage with bigger puzzles.

    Thanks!

  • Default User Avatar

    Chrono79, you are the next contestant on the Price is Right! Come on down! And don't forget to spay or neuter your pet. lol.

    It's a game show where you have to guess the price without going over. I didn't want the hassle of dealing with decimals, so let's just pretend that the integers are the prices in ¥en.

  • Default User Avatar

    It now uses undefined instead of false if a number isn't found. Thanks!

  • Loading more items...