pipes2game
MuedeHydra 2024-12-13 01:41:50 +01:00
parent 873f940725
commit 7a93be6d29
1 changed files with 3 additions and 2 deletions

View File

@ -247,12 +247,13 @@ void run_programm(int programm, int width, int height, bool *used){
case 9: return_code = test_gruppe_programmname(); break;
}
// ist dazu da um "\n" aus dem buffer zu entfernen!
getchar();
switch (return_code) {
case 10: used[programm] = 1; break;
case 20: print_game_over(width, height); break;
}
// ist dazu da um "\n" aus dem buffer zu entfernen!
getchar();
}
void speed(int width, int height, int *start_time, bool *used){