diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-24 21:31:59 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | cb143299411851667a8e3aae4d7a55f729694b12 (patch) | |
| tree | 3add82c4e7a893d0a7068b59d91033c861d05e2e /include/negamax.h | |
| parent | cf921b2e647136dc34568e0fff78b67c14c8e2fa (diff) | |
This is the basic idea, there's ≥ 1 bug (generates illegals...)
Diffstat (limited to 'include/negamax.h')
| -rw-r--r-- | include/negamax.h | 3 |
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 |
