aboutsummaryrefslogtreecommitdiff
path: root/include/zobrist.h
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-26 22:39:28 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit6b48baaf6b67cc7364d5945eb6d9b25ea9683bd9 (patch)
treeb4b5a65c687a20f5f4075b2be100a1fffab06e59 /include/zobrist.h
parentd39e9f242d7e71a517adbe003e9b3a25b676a052 (diff)
Somehting along these lines, i'm tired
Diffstat (limited to 'include/zobrist.h')
-rw-r--r--include/zobrist.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/zobrist.h b/include/zobrist.h
new file mode 100644
index 0000000..4e760ca
--- /dev/null
+++ b/include/zobrist.h
@@ -0,0 +1,15 @@
+#include <xorshift64.h>
+#include <tak.h>
+#include <actions.h>
+
+void
+zobrist_free(void);
+
+int
+zobrist_init(void);
+
+uint64_t
+zobrist_compute(void);
+
+uint64_t
+zobrist_apply(const action_t action, uint64_t hash);