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.
Ahh thanks so much for your help! Finally passing all the tests! :)
Why are you using
or
in your if? Also, you could go in only one direction and back (not using both axis).Why don't you use
console.log(walk)
to see what the input is?This comment is hidden because it contains spoiler information about the solution
Yeah me too. It's driving me nuts!