Tic Tac Toe

Technologies Used

Code Live Site


I have created a TIc Tac Toe game that both includes the functions to be able to play with either two people or play against a computer. The computers code is written in a way to look at the users selections for picking a spot in order to block them from winning while also having a random spot selection aspect to the game as well. I figured that if the computer did not have some random spot picking then a game would most likely end in a tie most games. Upon either a tie or a winning game the pop ups that appear come from a cool add on known as Sweetalert2. Using this allowed me to have some nice pop up boxes that match the UI I was going for. This project was built using HTML, CSS, and JavaScript.