print soluce on abandon game_text

This commit is contained in:
Theophyl Hoguet committed 2021-11-10 21:41:22 +01:00
1 parent 9aebca9724
commit 43ebf0e4ce
1 file changed
+2
+2
View File
@@ -69,6 +69,8 @@ int main(void) {
game_update_flags(g);
game_print(g);
}else if (c == 'q'){
printf("Solution: \n");
game_print(game_default_solution());
printf("shame\n");
return EXIT_SUCCESS;
}else if (c == 'l' || c == 'm' || c == 'b'){