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've fixed it (hopefully as what you intended to see), a lot of kata also uses this code (likely copied from some templates), so perhaps you can raise an issue everytime you've encountered them
Fixed though it is not really an issue :-)
besides the superfluous trailing semicolon, what's wrong with this setup ? the author should be free to put the strict mode directive there if they so wish, in my opinion. if you don't like it, you can easily delete it
Because it's the most missing feature of the language :D
It's just the first thing that came to mind. I plan more interesting things later
Solved both
Please note that it's futile to fix a kata that has been retired.
Sorry about that. I just fixed that.
You should be able to see in the description now that Whisker can in fact get two consecutive life orbs and get back to 1 life.
This example should be dead:
This example should be alive:
For this example:
It should be dead because the healing potion shouldn't have any effect. It won't increase the lives by 2, it won't resurrect. Only the life orb can resurrect, but since the life orb isn't used as soon as Whisker gets to -1 lives, Whisker is dead.
Fixed.
Approved.
It normally shouldn't. I assume that tests are weak, but I also don't understand the need for validating input. xD
fork approved
done
all fixed
thank you very much for the notice. I have made a change to the RTG, albeit somewhat clumsy, it works:
Loading more items...