Browse Source

gameover when game over

main
fdai7184 2 years ago
parent
commit
d83e87b448
  1. 6
      src/Main.c

6
src/Main.c

@ -29,6 +29,9 @@ int main(int argc, char ** argv){
while(winb==0 && quit==0 && looseb==0){
Umgebung(realU);
richtung = getInput();
if(richtung == 'q'){
break;
}
testint = update1(realU, richtung);
@ -37,7 +40,8 @@ int main(int argc, char ** argv){
}
printf("\033[31mgame over \n");
printf("\033[0m");
//Name abfragen
//Setup

Loading…
Cancel
Save