There is a bug: if AI wins from the last turn of the board, then the pop-up should display 'You Lose,' but it currently shows 'Tie.' This issue can be fixed by adding an additional condition inside the if() statement of the checkTie() function that checks for any winning combinations.
There is a bug: if AI wins from the last turn of the board, then the pop-up should display 'You Lose,' but it currently shows 'Tie.' This issue can be fixed by adding an additional condition inside the if() statement of the checkTie() function that checks for any winning combinations.