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
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