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.
It may not be a "kata issue" but it would definitely be a good idea to update it as var is not the correct convention now that we have let and const. Or at the least explain that let and const exist but that this kata is using var by choice. Even better just test for the variable instead of how it is declared.
I do agree that it isn't an issue, but it would be a great boon for the kata and future learners to make the small adjustment.
Thank you for pointing that out! I was able to solve it eventually, but not nearly as nicely as some of the other solutions I saw. I have learned a lot from those solutions. Although I do feel that the Description should have declared that explicitly to clear up some confusion on how the class and method were going to be used.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thank you for posting this. I was pretty sure that was the case, but seeing someone else posting it made this kata simple
I completely forgot that your could use not there! Great job
This is so pretty, but wow that took me a bit to wrap my head around how to explain it to the gerbils in my brain... Thank you for the eye candy! I will be remembering this one
Cool thanks for taking the time to answer!
This comment is hidden because it contains spoiler information about the solution
Well seeing this made my hard work feel stupid! ROFL Thanks for reminding me how math works again...
Pretty sure that the Javascript tests are wrong. If the dog is between the cat and the mouse and the cat jumps then it should be blocked by the dog.
..C..D..m.. j = 5
The result should be "Protected!" but I am getting errors saying that it expected "Caught!"
..m...D...C.. j = 6
The result should be "Protected!" since the dog was once again in the way.
Either that or the directions should state that the Cat CAN jump over the dog
@jacobb, Thank you so much for answering that! I have been trying to understand that for the past couple days!