aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/ct1986.c4
-rw-r--r--src/ctaklm.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/ct1986.c b/include/ct1986.c
index 9289d2f..97be8e5 100644
--- a/include/ct1986.c
+++ b/include/ct1986.c
@@ -307,9 +307,9 @@ ct1986_minimax(const uint8_t cur_depth, const uint8_t max_depth,
if (black) black_count &= 127;
else white_count &= 127;
colours[loc] = current_colour;
- celldat[loc] = NUM_INC | STONE_STANDING;
+ celldat[loc] = NUM_INC | STONE_CAPSTONE;
WIN_EVALUATE_OR_RECURSE({
- generate_place(loc, STONE_STANDING, ct1986_ptn);
+ generate_place(loc, STONE_CAPSTONE, ct1986_ptn);
});
celldat[loc] = 0;
if (black) black_count |= 128;
diff --git a/src/ctaklm.c b/src/ctaklm.c
index d2208a0..443e1dc 100644
--- a/src/ctaklm.c
+++ b/src/ctaklm.c
@@ -320,7 +320,7 @@ ct1986_turn(const uint8_t max_depth) {
// Run the minimax
sum_depth = 0; num_check = 0;
float minimax = ct1986_generate(max_depth);
- printf("]\nChecked %.0f AvgD %.2f, ",
+ printf("] (%.0f, %.2f)\n",
num_check, sum_depth/num_check);
// Failed to find a move?
if ((minimax <= -infty && (ply & 1) == 1)