It is X's turn
Objective:
Create a Tic Tac Toe game that detects when a player has won or a tie has occurred, informs players of who’s turn it is, and a button to create a new game.
Problem:
How do we know if someone has won?
Solution:
We have an array with all the 8 possible winning combinations of a tic tac toe game. We written the program so it keeps on checking for a possible wins until someone has won or there is no more spaces left on the board.