Update text example to display board complexity

This commit is contained in:
Gabriel Tofvesson 2020-02-28 01:31:04 +01:00
parent 6e79c9b366
commit 899e228b6d

4
main.c
View File

@ -150,10 +150,12 @@ main (int argc, char **argv, char **env)
close_board_file (file);
board_update_all_marks (&board);
print_board (&board);
if (board_is_valid (&board))
puts("Board is valid!");
printf ("Board is valid!\nBoard complexity: %u\n", board.complexity);
else
puts ("Board is invalid!");