Rules of the Tic Tac Toe

The play’s grid is shaped into 3 x 3 squares

User’s can play as either X or O, leaving the opposite symbol for the computer

The game players take turns putting their symbol into a square

The first to get all of his/her symbols in line (vertical, horizontal, diagonal) wins

Once all the 9 squares are filled, the game is over

In case none of the players has 3 symbols stacked in a line, the game ends in a tie