There are three kinds of actuaries: those who can count, and those who can't.
There are three kinds of actuaries: those who can count, and those who can't.
Vily Ivanova wrote:Hi Piet,
Thanks for your precise replay.
Here, in bulgarian chess knight is call "horse" . And I use it, because the letter is different from the letter 'k' of the king
After that I try it , Is that ok ?
Now i don't have stack over flow error, but I think there different error in my code ....
This code return all the time true, if the position of the knight is in the borders.
For example I tried with this call of the function : killKing(board, 0, 1, 4, 7)).
Why the behavior of my function is that?
There are three kinds of actuaries: those who can count, and those who can't.
Consider Paul's rocket mass heater. |