Browse Source

Update game.c

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

3
src/main/c/GameTic_Tac_Toe/game.c

@ -58,5 +58,6 @@ void makeMove() {
// Überprüfe, ob das gewählte Feld gültig ist
if (choice >= 1 && choice <= 9 && board[row][col] != 'X' && board[row][col] != 'O') {
board[row][col] = currentPlayer;
} else {
Loading…
Cancel
Save