print soluce on abandon game_text
This commit is contained in:
1 parent
9aebca9724
commit
43ebf0e4ce
1 file changed
+2
@@ -69,6 +69,8 @@ int main(void) {
|
|||||||
game_update_flags(g);
|
game_update_flags(g);
|
||||||
game_print(g);
|
game_print(g);
|
||||||
}else if (c == 'q'){
|
}else if (c == 'q'){
|
||||||
|
printf("Solution: \n");
|
||||||
|
game_print(game_default_solution());
|
||||||
printf("shame\n");
|
printf("shame\n");
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}else if (c == 'l' || c == 'm' || c == 'b'){
|
}else if (c == 'l' || c == 'm' || c == 'b'){
|
||||||
|
|||||||
Reference in new issue
Block a user