Browse Source

16 check round

main^2
Simon Hildebrandt 11 months ago
committed by Peter Wiebe
parent
commit
f2f7d489a3
  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; 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