aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-07-28 11:15:08 +0200
committerAdam <adammegarules1@gmail.com>2026-07-28 11:15:08 +0200
commit3109a2516e75072835f1998a9b702003781612d5 (patch)
treee0e2bbe0a1f31876884a65232557ec27f6816e57 /src/main.cpp
parentbb30752226c59148ae36beb248c8e4ed6eac39d1 (diff)
preventing 3 fold repetion
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
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");