Browse Source

possibility: draw

remotes/origin/fdai7775-main-patch-54732
fdai7775 11 months ago
parent
commit
c4c5255c32
  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