|
|
@ -62,14 +62,14 @@ void hinzufuegen_historie(int** Historie, int startX, int startY, int endX, int |
|
|
|
} |
|
|
|
|
|
|
|
void print_Historie(int** Historie, int anzahl_Zuege) { |
|
|
|
printf("Historie der Züge:\n"); |
|
|
|
printf("History of Moves:\n"); |
|
|
|
for (int i = 0; i <= anzahl_Zuege; i++) { |
|
|
|
if(Historie[i][4] == 0){ |
|
|
|
printf("%d. Zug: Von (%d, %d) nach (%d, %d) von Spieler Weiß\n", i + 1, |
|
|
|
printf("%d. Move: From (%d, %d) to (%d, %d) by White Player\n", i + 1, |
|
|
|
Historie[i][0], Historie[i][1], |
|
|
|
Historie[i][2], Historie[i][3]); |
|
|
|
}else{ |
|
|
|
printf("%d. Zug: Von (%d, %d) nach (%d, %d) von Spieler Schwarz\n", i + 1, |
|
|
|
printf("%d. Move: From (%d, %d) to (%d, %d) by Black Player\n", i + 1, |
|
|
|
Historie[i][0], Historie[i][1], |
|
|
|
Historie[i][2], Historie[i][3]); |
|
|
|
} |
|
|
|