aboutsummaryrefslogtreecommitdiff
path: root/include/zobrist.h
diff options
context:
space:
mode:
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);