diff --git a/src/main/c/TicTacToe.c b/src/main/c/TicTacToe.c index 14e960e..72f52ae 100644 --- a/src/main/c/TicTacToe.c +++ b/src/main/c/TicTacToe.c @@ -53,4 +53,13 @@ int Winner(char Feld[3][3]) { else return 2; } } + //Überprüfe Runde + for (int k = 0; k < 3; k++) { + for (int l = 0; l < 3; l++) { + if (Feld[k][l] == '_') { + return 9; + } + } + } + } \ No newline at end of file