diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-22 10:28:29 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | 14edf3fa605d68601d154df57afb87ec2140cd03 (patch) | |
| tree | 7c84f2bc38b7238bb77c2308d56eac29f29cad7b /src/ct1986.c | |
| parent | 8461e5ebea6e899eb0643f34ff03d7797d1441bf (diff) | |
Should now play out to the end
Diffstat (limited to 'src/ct1986.c')
| -rw-r--r-- | src/ct1986.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ct1986.c b/src/ct1986.c index 273fd98..40943db 100644 --- a/src/ct1986.c +++ b/src/ct1986.c @@ -102,7 +102,7 @@ negamax_cnn1986_turn() { perc = 0; float minimax = negamax_cnn1986_generate(); // Failed to find a move? - if (minimax <= -infty) { + if (minimax < -infty) { lcd_printf_line(L_SCROLL, "%s concedes!", (ply & 1) ? "Black" : "White"); return EXIT_FAILURE; @@ -110,8 +110,7 @@ negamax_cnn1986_turn() { lcd_printf_line(L_SCROLL, "%s: %s", (ply & 1) ? "Black" : "White", negamax_cnn1986_ptn); - handle_turn(negamax_cnn1986_ptn); - return EXIT_SUCCESS; + return handle_turn(negamax_cnn1986_ptn); } } |
