Update text example to display board complexity
This commit is contained in:
parent
6e79c9b366
commit
899e228b6d
4
main.c
4
main.c
@ -150,10 +150,12 @@ main (int argc, char **argv, char **env)
|
|||||||
|
|
||||||
close_board_file (file);
|
close_board_file (file);
|
||||||
|
|
||||||
|
board_update_all_marks (&board);
|
||||||
|
|
||||||
print_board (&board);
|
print_board (&board);
|
||||||
|
|
||||||
if (board_is_valid (&board))
|
if (board_is_valid (&board))
|
||||||
puts("Board is valid!");
|
printf ("Board is valid!\nBoard complexity: %u\n", board.complexity);
|
||||||
else
|
else
|
||||||
puts ("Board is invalid!");
|
puts ("Board is invalid!");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user