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 was a great kata, glad I found it. Thanks for putting it together.
Seems already fixed. I also added
regexp
tag.Tests shouldn't use global variables.
Description says first There will always be one home island, always in the top left corner of the sea. then Each of 'p', 'u', 'm' and '~' can occur in any space of the map., which is contradictory.
The description is badly formatted.
After seeing the solutions, I have come to the conclusion I have tons to learn/am pretty bad at JS haha.
Thanks for the Kata roseinapuddle!
@roseinapuddle , would you ok if I did a C++ translation of this? Really enjoyed this Kata.
This was a lot of fun. I like pirates :D, thanks for making it!
I already did above when I closed the issue. ;)
note: if not already done, you should read about/understand what you did to spot the pattern if you encounter it again (or better, to avoid it) => read a bit about mutation of data structures (arrays, objects, ...)
It seems to be correct right now, my code is wrong but atleast I can properly see the attended result now ! Thanks again !
How can I inform that the issue is now solve?
I'm kind of new to programming so i did'nt do this on purpose. I will try to be keep your advice in mind for the future. Thanks for the support !
I bet you are mutating the input. I changed something in the tests, that should be good now (reload the trainer page if needed)
edit: you really shouldn't get that very bad habit of mutating the input... for the very reason you just faced
In random cases , she sample tests is still good for me !
in what part?
Loading more items...