Browse Source

Puzzlebrett initialisiert, Emman Mensdorf

remotes/origin/Spracharbeit
Emman Mensdorf 11 months ago
parent
commit
4b936cb9bd
  1. 14
      src/Raetsel_I_Zug_schachmat/Raetsel_I_.c

14
src/Raetsel_I_Zug_schachmat/Raetsel_I_.c

@ -46,3 +46,17 @@ char** Puzzlebrett_erstellen() {
return Brett; return Brett;
} }
void print_Puzzle(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");
}
Loading…
Cancel
Save