|
|
@ -47,12 +47,18 @@ char** Schachbrett_erstellen() { |
|
|
|
} |
|
|
|
|
|
|
|
void print_Schachfeld(char** Brett) { |
|
|
|
int counter = 1; |
|
|
|
printf(" - 1 2 3 4 5 6 7 8 \n"); |
|
|
|
for (int i = 0; i < 8; i++) { |
|
|
|
printf(" %d " , counter); |
|
|
|
counter++; |
|
|
|
for (int j = 0; j < 8; j++) { |
|
|
|
printf(" %c ", Brett[i][j]); |
|
|
|
} |
|
|
|
printf("\n"); |
|
|
|
} |
|
|
|
printf("\n"); |
|
|
|
printf("\n"); |
|
|
|
} |
|
|
|
|
|
|
|
void Schachbrettspeicher_freigeben(char** Brett) { |
|
|
|