diff --git a/src/main/c/TicTacToe.c b/src/main/c/TicTacToe.c index e011caf..837e2a2 100644 --- a/src/main/c/TicTacToe.c +++ b/src/main/c/TicTacToe.c @@ -4,11 +4,18 @@ #include // Funktion, um das Spielfeld zu initialisieren -//1 void Brett(char Feld[3][3]) { for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { Feld[i][j] = '_'; } } +} +void Bild(char Feld[3][3]) { + for (int i = 0; i < 3; i++) { + for (int j = 0; j < 3; j++) { + printf("%c ", Feld[i][j]); + } + printf("\n"); + } } \ No newline at end of file