Browse Source

Merge branch 'Ariana' into 'main'

Change player

See merge request pmuw_projekt/pmuw_projekt_notebinder!20
remotes/origin/fdai7775-main-patch-54732
fdai7775 11 months ago
parent
commit
21e4b4188a
  1. 7
      src/main/c/GameTic_Tac_Toe/game.c

7
src/main/c/GameTic_Tac_Toe/game.c

@ -82,3 +82,10 @@ int main() {
printf("Unentschieden!\n");
break;
}
// Wechsle den Spieler
currentPlayer = (currentPlayer == 'X') ? 'O' : 'X';
}
return 0;
}
Loading…
Cancel
Save