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'm confused. Is this a coding test or just a game? Is the task to write a function to win the game? That's not obvious from the instruction. I'm new to codewars so maybe I'm missing something
approved by someone
closing as this is not specific to this kata and would require a systematic update of JavaScript content on Codewars
this particular cheese has been fixed
tmp
is missing a byte for the nul terminatori
for every character iny
, and you also usei
to indextarget
. So if there are non-letter characters iny
, you will write out-of-bounds oftarget
.Haskell translation
Simple funny kata)
(OP's language was C) only one game was run in the random tests, due to the peculiar setup of this kata in C (the function has to be stateful). I rewrote the tests to run 100 games, several solutions have been invalidated.
Very interesting tests for this KATA
I've never seen a kata with different output for the same input ;)
Gotta learn OOP 💪 better
I would like seeing sample tests till the end of the game for better clarity
Great job! I was stumped for the longest time.
Whenever you have no moves left in the "directions" array, that's the limit 👍
dont need use return if function wrote in 1 line
Very nice kata due to the steps that we have to accomplish to resolve it I think this is a great exercice to built specific functions for each steps.
Loading more items...