Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting tie message if ai won from the last move #65

Open
Pawan7778 opened this issue Jun 30, 2023 · 0 comments
Open

getting tie message if ai won from the last move #65

Pawan7778 opened this issue Jun 30, 2023 · 0 comments

Comments

@Pawan7778
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant