@ -69,6 +69,10 @@ int main() {
break;
}
if (i == 8) {
messages(3, '\0'); // Tie
player = switchPlayer(player);
@ -202,6 +206,9 @@ void messages(int message, char player) {
case 11:
printf("\nPlayer O has won!\n\n");
case 3:
printf("\nIt's a draw. Good game!\n\n");
case 4:
printf("\nPlayer %c, enter your move (1-9): ", player);