diff --git a/src/main/c/TicTacToe.c b/src/main/c/TicTacToe.c index 024f326..d46d3b3 100644 --- a/src/main/c/TicTacToe.c +++ b/src/main/c/TicTacToe.c @@ -69,7 +69,12 @@ int Winner(char Feld[3][3]) { void Zuege(char Feld[3][3], int row, int col) { if (Zaehler % 2 == 0) { if (Feld[row][col] == '_') { - Feld[row][col] = 'O'; + Feld[row][col] = 'O'; + } + } + else { + if (Feld[row][col] == '_') { + Feld[row][col] = 'X'; } } } \ No newline at end of file