Tic Tac Toe


Objective: Create a TicTacToe game in JavaScript.

Problem: How can we display who will be going next and who will win? How can we keep track of wins and display these for the users to see?

Solution: By using an info box at the top, we can display a message every time a player wins and also say who’s turn it is next. We can also display the total number of wins in this box.