From 3109a2516e75072835f1998a9b702003781612d5 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 28 Jul 2026 11:15:08 +0200 Subject: preventing 3 fold repetion --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index dea578b..ddeb304 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2,6 +2,7 @@ #include "fen.hpp" #include "moves.hpp" #include "uci.hpp" +#include "zobrist.hpp" #include #include #include @@ -38,6 +39,7 @@ Game initBoard(string startingFEN) { }; int main(int argc, char **argv) { + InitZobrist(); srand(time(0)); if (argc < 1 || argc > 2) { printf("wrong arg count, use: ./chess [--repl for debugging]\n"); -- cgit v1.2.3