Implement 2-fold repetition detection. 2-fold repetition should be enough to internally decide the position is a draw because if we played logical moves and arrived back at the same position there is no mechanism that the same logic should not apply again before actually reaching the three-fold repetition.
Implement 2-fold repetition detection. 2-fold repetition should be enough to internally decide the position is a draw because if we played logical moves and arrived back at the same position there is no mechanism that the same logic should not apply again before actually reaching the three-fold repetition.