Skip to content

Commit

Permalink
hihuh
Browse files Browse the repository at this point in the history
  • Loading branch information
iLikeGrape committed Nov 14, 2024
1 parent c2405fc commit f2a17b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ initializeGame()
function initializeGame(){
cells.forEach(cell => cell.addEventListener("click", cellClicked))
restartBtn.addEventListener("click", restartGame)
currentPlayer = "X"
statusText.textContent = `${currentPlayer}'s turn`;
running = true;
}
Expand Down

0 comments on commit f2a17b1

Please sign in to comment.