diff --git a/src/c/labyrinth.c b/src/c/labyrinth.c index d2996ea..9dc72ba 100644 --- a/src/c/labyrinth.c +++ b/src/c/labyrinth.c @@ -11,8 +11,14 @@ int printlabyrinth(lab laby, int hoehe, int breite){ for(int i = 0; i < hoehe; i++){ - for(int j = 0; j < breite; j++){ - printf("%c ", laby[i][j]); + for(int j = 0; j < breite; j++){ + if(laby[i][j] == '1'){ + printf("■ "); + } + + else{ + printf("%c ", laby[i][j]); + } } printf("\n"); }