@ -79,7 +79,7 @@ void makeMove() {
}
int main() {
void playGame() {
while (1) {
displayBoard();
makeMove();
@ -95,11 +95,10 @@ int main() {
printf("Unentschieden!\n");
break;
// Wechsle den Spieler
currentPlayer = (currentPlayer == 'X') ? 'O' : 'X';
int main(){
playGame();
return 0;