MadChess 2.0 Beta Build 027 (Draw By Repetition Bug)
Yes! I found and exterminated the bug I mentioned in my previous post. I corrected a bug that caused MadChess to play a losing move in a drawn by repetition position. MadChess evaluates the first repetition of a position as drawn, even though the rules of chess state the second repetition is drawn. This search optimization avoids wasting a ply to determine the position is drawn by repetition. MadChess’ recursive search method checks if a position is repeated before searching any moves. If the position is a repeat of an earlier position, the search returns a zero score. I forgot… Continue Reading