From 8e47b8f9f8a017f25a1c9a9baba05b0bf9b12d2d Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 16 Aug 2026 11:22:34 +0200 Subject: perf(draw) instead of having a hash map for three fold repetion check now we have --- src/moves.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/moves.cpp') diff --git a/src/moves.cpp b/src/moves.cpp index 9e45ff5..6299e55 100644 --- a/src/moves.cpp +++ b/src/moves.cpp @@ -353,9 +353,6 @@ GameState GetNewGameState(Game *g) { if (g->state == DRAW || g->state == WHITE_WON || g->state == BLACK_WON) { return g->state; } - if (g->halfMoveClock >= 100) { - g->state = DRAW; - } auto legalMoves = GetLegalMoves(g); -- cgit v1.2.3