Pedro Castro (@pedrox) has kindly pointed out (on YouTube) where the bug was:
I didn't increment repetition index before making move from the UCI command, so literally didn't track history positions at all.
I didn't know how/why to do that until now. With this fix now everything is working.
So initially my question was wrong in terms of not being to the point.
Anyway, thanks for discussion and sharing drawing FENs. I'll test my engine with them.
3 fold repetition scoring issue
Moderator: Ras
-
maksimKorzh
- Posts: 775
- Joined: Sat Sep 08, 2018 5:37 pm
- Location: Ukraine
- Full name: Maksim Korzh
Re: 3 fold repetition scoring issue
Didactic chess engines:
https://www.chessprogramming.org/Maksim_Korzh
Chess programming YouTube channel:
https://www.youtube.com/channel/UCB9-pr ... KKqDgXhsMQ
https://www.chessprogramming.org/Maksim_Korzh
Chess programming YouTube channel:
https://www.youtube.com/channel/UCB9-pr ... KKqDgXhsMQ