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.
This comment is hidden because it contains spoiler information about the solution
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.
Agreed. Just goes to show that having friends that don't know anything really messes up your life.
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!
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!
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.
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.
3rd argument removed for clarity. Thanks!
Order has been swapped. Thanks!
Fun kata. What should ctrl_a('test08it') return? 'test09it' or 'test9it'? Thanks
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!
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
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!
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.
It now uses undefined instead of false if a number isn't found. Thanks!
Loading more items...