isFiftyMoveDraw method

bool isFiftyMoveDraw()

Checks if the game is in a draw state due to the fifty-move rule.

Implementation

bool isFiftyMoveDraw() {
  // Check if the half-move clock has reached 50
  return halfMoveClock >= 100;
}