From 473797d820b3b224ee1d370a50e4bcd01d09d48e Mon Sep 17 00:00:00 2001 From: tslil clingman Date: Thu, 28 Jan 2021 20:46:43 -0500 Subject: Print progress before recursion rather than after --- src/ctaklm.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/ctaklm.c b/src/ctaklm.c index 2e0e2b3..e0022d1 100644 --- a/src/ctaklm.c +++ b/src/ctaklm.c @@ -312,8 +312,6 @@ negamax_display_progress(const uint8_t depth, const uint32_t length) { static int negamax_turn(void) { if (won == 0xFF) { - fputs("Computing: 0%", stdout); - fflush(stdout); // Run the minimax sum_depth = 0; num_check = 0; progress = 0; float minimax = negamax_generate(); -- cgit v1.2.3