lukasmonk / lucaschessR2

Lucas Chess R Version 2
GNU General Public License v3.0
255 stars 36 forks source link

Potential Bug: Play As Long as You Make No Mistakes Incorrect Centipawn Calculations #123

Open CharlesLove opened 6 months ago

CharlesLove commented 6 months ago

Issue:

I've been playing around with the "Play As Long as You Make No Mistakes" option when playing against an engine, but no matter what I end up hitting the centipawn limit (90 as default). For this game, I decided to cheat a bit and do the best moves stockfish can find, but even then I hit the centipawn loss threshold by a number far larger than 90.

image

lukasmonk commented 6 months ago

According to the message the move made is probably mate -15, when Re8 is mate -11, that's why the loss of 400 centipawns has occurred, and it has stopped.

lukasmonk commented 6 months ago

Maybe that's what you've used, but just in case, a simple way to do a test is to throw a kibitzer, so you know what the best moves are straight away.