|
@ -61,9 +61,9 @@ void Umgebung(int str[N][N]){ |
|
|
printf("\033[96m%c \033[0m", 179); |
|
|
printf("\033[96m%c \033[0m", 179); |
|
|
for (int j = 0; j < N; j++) { |
|
|
for (int j = 0; j < N; j++) { |
|
|
|
|
|
|
|
|
if (str[i][j] == (N * N) + 1)printf("\033[91m%c%c\033[0m", 222, 221); |
|
|
|
|
|
|
|
|
if (str[i][j] == (N * N) + 1)printf("\033[91m%c%c\033[0m", 64,64); |
|
|
else if (str[i][j] == 0)printf(" "); |
|
|
else if (str[i][j] == 0)printf(" "); |
|
|
else printf("\033[93m%c%c\033[0m", 219, 219); |
|
|
|
|
|
|
|
|
else printf("\033[93m%c%c\033[0m", 64,64); |
|
|
} |
|
|
} |
|
|
printf("\033[96m %c \033[0m", 179); |
|
|
printf("\033[96m %c \033[0m", 179); |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|