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.
the cause for your problem is explained above (no need to keep multiple issues open about the same problem)
Fixed
the validMovement method was unnecessary. I was thinking if the knight is in (8,A), the method return false. And the knight cannot never win the game. while it is not correct.
Thats nice you find it out and you are welcome.
Thanks for the time you spend on this kata.
In
hasValidMovement
method, what is the purpouse of this piece code:why it should return False?