The previous fix for repetition checks included a bug once the ply count exceeded 128, where the code would lose track
of where in the stack states it was supposed to look. The fix ensures the stack states are as expected. The repetition check then works as intended. Included is a new test case with one of the regression that was observed from live games.
The previous fix for repetition checks included a bug once the ply count exceeded
128
, where the code would lose track of where in the stack states it was supposed to look. The fix ensures the stack states are as expected. The repetition check then works as intended. Included is a new test case with one of the regression that was observed from live games.This should close #46, and maybe also #48.