X-Git-Url: https://git.piment-noir.org/?p=Project_algorithmic_C.git;a=blobdiff_plain;f=src%2Fmain.c;fp=src%2Fmain.c;h=a86a7efd94f125123d6aca435bfb62fdde7599b8;hp=03b75cb50175613fa98cde36f8a1c7b6b61b7ed2;hb=9240af1ae3159c7ba2f1ff1152089efd7fa5e38e;hpb=c8c562de07c5dcd2fd557ed100cf62a15140bbe4 diff --git a/src/main.c b/src/main.c index 03b75cb..a86a7ef 100644 --- a/src/main.c +++ b/src/main.c @@ -77,6 +77,10 @@ int main() { mvprintw(center_y, center_x - 42/2 - snprintf(NULL, 0, score_msg, "noirs", nb_black) - 2, score_msg, "noirs", nb_black); mvprintw(center_y, center_x + 42/2 + 2, score_msg, "blancs", nb_white); + build_playable_shots_list(player, &playable_shots, pawns); + print_shots_list(board_center_y, board_center_x, &playable_shots); + free_shots_list(&playable_shots); + display_array(1, 1, pawns); int y;