Assignment 7: Tic Tac Toe


The goal of the game is to get three of your letter in a row!

Click a square to display your letter.

The game begins with a cool animation where the letters on the tic tac toe board spell tic tac toe. Using a list and random color generation, each letter changes color randomly while the camera spins around it.

if player one wins then the board disappears and it displays a text telling you that player one has won.

If Player 2 wins than the board also disappears and a text tells you that player two has won.

If the players tie a text displays that the players have tied and then the game is reset so they can play again!