4 ms·
You don't keep track of it as extra state - positions are already processed in increasing order of shortest mate, you stop once you hit 50.
by deredede 2y ago
You don't keep track of it as extra state - positions are already processed in increasing order of shortest mate, you stop once you hit 50.
- Sesse__ 2y agoThat's not really how it works, though, as the counter is reset back to 0 once a capture happens or a pawn is moved (as both of those are irreversible and thus represent some abstract proof of progress towards a resolution of the game).