int y;
char x_char;
bool input_ok = false;
+ bool first_run = true;
unsigned int nb_pawns_reversed = 0;
do {
y = 0;
/* here are all the end of the game conditions */
if (is_board_full(pawns)) {
print_board(board_center_y, board_center_x);
- /* print the updated pawns before exiting */
+ /* print the updated pawns array before exiting */
print_pawns(board_center_y, board_center_x, pawns);
unsigned int winner = eval_winner(nb_white, nb_black);
if (winner != 0) {