,

Day 14: Tic-Tac-Toe (Complete)

Today I finished my tic-tac-toe game. I used an if statement to check for a winner or a tie, and added a button that restarts the game. I also prevented the user from continuing to click on spaces after the game is over.

This has been a really fun project. I might come back to it and let two users play against each other rather than a user against the computer. The game is here: https://zidri.github.io/TicTacToePage/ and the source code is available on my GitHub.