aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
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");