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 agree that the
{"NORTH","WEST","SOUTH","EAST"}
case should just return an empty array. The problem I think, is that the theme (I guess?) of the kata doesn't quite match the actual logical problem it's asking. Hopefully that makes sense...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