@ -89,6 +89,14 @@ int main() {
printf("\nSpieler O hat gewonnen!\n\n");
break;
}
} else if (pos2 == player && pos5 == player && pos8 == player) {
if(player == 10){
printf("\nSpieler X hat gewonnen!\n\n");
}else{
player = switchPlayer(player);