diff options
| author | tslil <tslil@posteo.de> | 2021-01-13 23:41:32 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | cf7d665598e34e32d258775b583968e758c8f2fb (patch) | |
| tree | 6bfda86535ffa051afd8ccfd70f1d4488701dfdf /src/ctaklm.c | |
| parent | 2ef0078ba2afd99c4fc2673497f3d3a39119cf5d (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.c | 2 |
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); |
