diff options
| author | Adam <adammegarules1@gmail.com> | 2026-07-28 11:15:08 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-07-28 11:15:08 +0200 |
| commit | 3109a2516e75072835f1998a9b702003781612d5 (patch) | |
| tree | e0e2bbe0a1f31876884a65232557ec27f6816e57 /src/main.cpp | |
| parent | bb30752226c59148ae36beb248c8e4ed6eac39d1 (diff) | |
preventing 3 fold repetion
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 <cstdio> #include <cstdlib> #include <ctime> @@ -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"); |
