Mar-21-2024, 09:31 PM
(Mar-20-2024, 01:25 PM)max22 Wrote: I have just upgraded my code for computing completely optimally for both players a chess endgame as given here:
https://pastebin.com/jQ090L01 but it gives to me 2 plies to checkmate White instead of correct 4 plies according to StockFish.
Can someone give me a hint how to fix this and where is the source of the problem?
There are no errors and the code is provided. I do not follow what do you mean.