TimJentzsch / stonefish_engine

An amateur chess engine written in Rust.
https://lichess.org/@/StonefishEngine
GNU General Public License v3.0
2 stars 0 forks source link

Fix repetition draw recognition #11

Closed TimJentzsch closed 1 year ago

TimJentzsch commented 1 year ago

The engine sometimes thinks there is a forced threefold repetition when there is none.

Consider for example https://lichess.org/491iu1Vw/white#56. You can see on the move times that the bot moved almost instantly, because it thought there was a forced draw (even though there is none). It then made a blunder move due to this bug.