From b860399c5bae9d537800a258a9d3b716bccb6891 Mon Sep 17 00:00:00 2001 From: fdai7225 Date: Wed, 25 Jan 2023 14:21:04 +0100 Subject: [PATCH] Design Umgebung --- src/Umgebung.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umgebung.c b/src/Umgebung.c index 710786f..651fb0a 100644 --- a/src/Umgebung.c +++ b/src/Umgebung.c @@ -58,14 +58,14 @@ void Umgebung(int str[N][N]){ for (int i = 0; i < N * 2 + 2; i++)printf("\033[96m%c\033[0m", 95); printf("\033[96m%c\n\033[0m", 191); for (int i = 0; i < N; i++) { - printf("\033[96m%c \033[0m", 179); + printf("\033[96m%c \033[0m", 47); for (int j = 0; j < N; j++) { if (str[i][j] == (N * N) + 1)printf("\033[91m%c%c\033[0m", 64,64); else if (str[i][j] == 0)printf(" "); else printf("\033[93m%c%c\033[0m", 126,126); } - printf("\033[96m %c \033[0m", 179); + printf("\033[96m %c \033[0m", 47); printf("\n"); } printf("\033[96m%c\033[0m", 192);