From 105b7cf080c854ad5b3ab305ead75fc80db6fbe6 Mon Sep 17 00:00:00 2001 From: Somsubhra Misra <144590117+subhro72@users.noreply.github.com> Date: Sat, 3 May 2025 00:58:21 +0530 Subject: [PATCH] Update app.js add checkWinner() function at line 41 to make the project run correctly. --- TicTacToe/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TicTacToe/app.js b/TicTacToe/app.js index 8f1665b..077e215 100644 --- a/TicTacToe/app.js +++ b/TicTacToe/app.js @@ -38,7 +38,7 @@ boxes.forEach((box) => { } box.disabled = true; count++; - + checkWinner(); let isWinner = checkWinner(); if (count === 9 && !isWinner) {