aboutsummaryrefslogtreecommitdiff
path: root/src/ctaklm.c
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2021-01-13 23:41:32 -0500
committertslil <tslil@posteo.de>2021-01-13 23:44:12 -0500
commit5c0980452875f1201a85b9c4df0e965a8ce9da1c (patch)
tree6bfda86535ffa051afd8ccfd70f1d4488701dfdf /src/ctaklm.c
parent1db02317a9a9b3dd0e1aed21ca8ce7386b5f0d19 (diff)
Fixed minimax (!), fixed bugs in tak.c
With minimax of depth 1 the evaluation function seems alright with the current method of training and generating weights
Diffstat (limited to 'src/ctaklm.c')
-rw-r--r--src/ctaklm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctaklm.c b/src/ctaklm.c
index 4060911..9d0f867 100644
--- a/src/ctaklm.c
+++ b/src/ctaklm.c
@@ -366,7 +366,7 @@ main(int argc, char **argv) {
int r = handle_turn(line);
if (r == EXIT_SUCCESS && won == 0xFF) {
fputs("Thinking [", stdout);
- float minimax = ct1986_minimax(0, 2, 0);
+ float minimax = ct1986_minimax(0, 1, 0);
printf("] Result: %s (%.3f)\n",
ct1986_ptn,
minimax*100.0);