aboutsummaryrefslogtreecommitdiff
path: root/src/ctaklm.c
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-24 12:07:18 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit815cde44e5060ad093347bb47fc66d41c9d3a3ed (patch)
treefdbd7a4d55ae6da4e4cdc841343d63bf7dcc826c /src/ctaklm.c
parent93f66971f66c14f18aba743b6d0f8b0f557351ca (diff)
Still trying
|
Diffstat (limited to 'src/ctaklm.c')
-rw-r--r--src/ctaklm.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/ctaklm.c b/src/ctaklm.c
index 2232bc4..e80dd82 100644
--- a/src/ctaklm.c
+++ b/src/ctaklm.c
@@ -317,7 +317,7 @@ negamax_turn(void) {
// Run the minimax
sum_depth = 0; num_check = 0; progress = 0;
float minimax = negamax_generate();
- printf(" [%d] <%d>\n", cnn1986_num_cached, cache_fails);
+ printf(" [%d]\n", tt_num_cached);
// Failed to find a move?
if (minimax < -infty) {
puts("Opponent failed to find a move!");
@@ -420,11 +420,9 @@ main(int argc, char **argv) {
negamax_search_depth = 5;
new_game(5);
negamax_init(5);
- /*
- * load_ptn("data/0.ptn");
- * for (int k=0; k<2; k++) negamax_turn();
- * return 0;
- */
+ load_ptn("data/0.ptn");
+ for (int k=0; k<2; k++) negamax_turn();
+ return 0;
// Test harness
char *line = NULL;