manual??? and refactoring

This commit is contained in:
2025-10-17 21:08:03 +02:00
parent a2d4290076
commit 103f85d07e
15 changed files with 211 additions and 52 deletions

View File

@@ -105,7 +105,9 @@ static void speel_maze(rooster *rp) {
case 'D':
maze_runner_beweeg(rp, 1, 0);
break;
case 'p':
case KEY_BACKSPACE:
case KEY_ESCAPE:
rooster_zet_toestand(rp, STATE_QUIT);
break;
}
@@ -126,6 +128,6 @@ void maze_runner(void) {
}
// Exit game.
game_exit_screen(rp);
game_exit_screen(rp, (coordinate){0, 0});
rooster_klaar(rp);
}