Browse Source

16 check round

remotes/origin/Simon
Simon Hildebrandt 11 months ago
parent
commit
c021ee3a88
  1. 9
      src/main/c/TicTacToe.c

9
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;
}
}
}
}
Loading…
Cancel
Save