aboutsummaryrefslogtreecommitdiff
path: root/include/negamax.h
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-24 21:31:59 -0500
committertslil <tslil@posteo.de>2021-01-24 21:31:59 -0500
commit0b59bdd4e57674d3ce5b5f0abf97e0a7218e702a (patch)
tree3add82c4e7a893d0a7068b59d91033c861d05e2e /include/negamax.h
parent8645a180a7e288b422a3fd39814fa55129d8afec (diff)
This is the basic idea, there's ≥ 1 bug (generates illegals...)
Diffstat (limited to 'include/negamax.h')
-rw-r--r--include/negamax.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/negamax.h b/include/negamax.h
index 1cfebdd..8a67638 100644
--- a/include/negamax.h
+++ b/include/negamax.h
@@ -2,6 +2,7 @@
#include <math.h>
#include <tak.h>
+#include <action_list.h>
#include <xorshift64.h>
#include <cnn1986.h>
#include <tt_treap.h>
@@ -12,7 +13,7 @@ extern uint8_t negamax_search_depth;
extern inline void negamax_display_progress(const uint8_t);
void negamax_init(const uint8_t new_board_size);
-uint64_t negamax_compute_zobrist(void);
+void negamax_free(void);
// Do negamax to depth negamax_search_depth and return PTN of best move
// in negamax_ptn, along with its value as the return. The