diff --git a/src/Umgebung.c b/src/Umgebung.c index 844b122..9e0553f 100644 --- a/src/Umgebung.c +++ b/src/Umgebung.c @@ -12,7 +12,7 @@ void ASCI();//Bellow you can find the function ASCI with which we designed the b int score = 0; void Anweisung(char s[N]); void Anweisung1(); -void RealU(int realU1[N][N]); +int RealU(int realU1[N][N]); void Score(int score); void Apfel(int realU[N][N]); void Umgebung(int str[N][N]); @@ -63,10 +63,11 @@ void Anweisung1(){ -void RealU(int realU1[N][N]){ +int RealU(int realU1[N][N]){ + int i,j; // für eine Schlange - for (int i=0;i