|
@ -11,6 +11,7 @@ |
|
|
void ASCI();//Bellow you can find the function ASCI with which we designed the box and snake and food |
|
|
void ASCI();//Bellow you can find the function ASCI with which we designed the box and snake and food |
|
|
int score = 0; |
|
|
int score = 0; |
|
|
void Anweisung(char s[N]); |
|
|
void Anweisung(char s[N]); |
|
|
|
|
|
void Anweisung1(); |
|
|
void RealU(int realU1[N][N]); |
|
|
void RealU(int realU1[N][N]); |
|
|
void Score(int score); |
|
|
void Score(int score); |
|
|
void Apfel(int realU[N][N]); |
|
|
void Apfel(int realU[N][N]); |
|
@ -51,7 +52,14 @@ void Anweisung(char s[N]){ |
|
|
scanf("%s",s); |
|
|
scanf("%s",s); |
|
|
printf("\t\033[96m hallo %s \033[0m\n",s); |
|
|
printf("\t\033[96m hallo %s \033[0m\n",s); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void Anweisung1(){ |
|
|
|
|
|
printf("\t\033[96m kurze Anweisung: \033[0m\n"); |
|
|
|
|
|
printf("\t\033[96m die folgende worter sind auf die Tastatur als Steuerung \033[0m\n"); |
|
|
|
|
|
printf("\t\033[96m oben : \033[0m\n"); |
|
|
|
|
|
printf("\t\033[96m unten : \033[0m\n"); |
|
|
|
|
|
printf("\t\033[96m links : \033[0m\n"); |
|
|
|
|
|
printf("\t\033[96m rechts : \033[0m\n"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -99,12 +107,7 @@ void Umgebung(int str[N][N]){ |
|
|
|
|
|
|
|
|
system("clear");// wegen der Refrech unsere Seite |
|
|
system("clear");// wegen der Refrech unsere Seite |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf("\t\033[96m kurze Anweisung: \033[0m\n"); |
|
|
|
|
|
printf("\t\033[96m die folgende worter sind auf die Tastatur als Steuerung \033[0m\n"); |
|
|
|
|
|
printf("\t\033[96m oben : \033[0m\n"); |
|
|
|
|
|
printf("\t\033[96m unten : \033[0m\n"); |
|
|
|
|
|
printf("\t\033[96m links : \033[0m\n"); |
|
|
|
|
|
printf("\t\033[96m rechts : \033[0m\n"); |
|
|
|
|
|
|
|
|
Anweisung1(); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
printf("\033[96m%c\033[0m", 218); |
|
|
printf("\033[96m%c\033[0m", 218); |
|
|
for (int i = 0; i < N * 2 + 2; i++)printf("\033[96m%c\033[0m", 95); |
|
|
for (int i = 0; i < N * 2 + 2; i++)printf("\033[96m%c\033[0m", 95); |
|
|