From d9253f1880f4469dace7431acf3ed57504579537 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Thu, 8 Sep 2022 06:17:04 +0300 Subject: feat: display moves while deepening --- src/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 3df8e2b..a6ef917 100644 --- a/src/main.c +++ b/src/main.c @@ -651,7 +651,10 @@ Move iterative_deepening(int* board, int color, long hash, Transposition* transp return best_move; } - printf("Done (evaluation %.2f) [%i positions analyzed]\n", (double)move.value / 10, metrics); + char move_in_notation[] = "xyXY"; + index_to_notation(move.origin, move_in_notation); + index_to_notation(move.destination, move_in_notation + 2); + printf("Done (%s with evaluation %.2f) [%i positions analyzed]\n", move_in_notation, (double)move.value / 10, metrics); depth++; } -- cgit v1.2.3