From b75526290b97e26d3fc3bbefef79f50a7febfe7d Mon Sep 17 00:00:00 2001 From: tslil Date: Thu, 14 Jan 2021 01:05:45 -0500 Subject: Seems tolerable, but not great. Still wont win or lose ??? --- src/ctaklm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ctaklm.c') diff --git a/src/ctaklm.c b/src/ctaklm.c index e7d9960..fdeccc8 100644 --- a/src/ctaklm.c +++ b/src/ctaklm.c @@ -370,7 +370,7 @@ main(int argc, char **argv) { fputs("]\033[26D",stdout); fflush(stdout); // Run the minimax - float minimax = ct1986_minimax(0, 3, 0, -10, 10); + float minimax = ct1986_generate(2); if (minimax < 0 || minimax > 1) { puts("] Opponent concedes!"); } else { -- cgit v1.2.3