#include #include #include #include #include extern const float infty; extern char negamax_ptn[9]; extern uint8_t negamax_search_depth; extern uint32_t cache_fails; extern inline void negamax_display_progress(const uint8_t); void negamax_init(const uint8_t new_board_size); void negamax_compute_zobrist(uint64_t hash[4]); // Do negamax to depth negamax_search_depth and return PTN of best move // in negamax_ptn, along with its value as the return. The // negamax_display_progress function is called on every new square at // the top level. float negamax_generate(void);