Browse Source

possibility: draw

remotes/origin/Ariana
Ariana Ginju 11 months ago
committed by David Moeller
parent
commit
b02a1f7f6c
  1. 6
      src/main/c/GameTic_Tac_Toe/game.c

6
src/main/c/GameTic_Tac_Toe/game.c

@ -76,3 +76,9 @@ int main() {
printf("Spieler %c gewinnt!\n", winner); printf("Spieler %c gewinnt!\n", winner);
break; break;
} }
if (isBoardFull()) {
displayBoard();
printf("Unentschieden!\n");
break;
}
Loading…
Cancel
Save