JS Projects

Home

Tic Tac Toe

Player X's turn

How to Play

  1. The game is played on a grid that's 3 squares by 3 squares.
  2. Player 1 is X and Player 2 is O. Players take turns putting their marks in empty squares.
  3. The first player to get 3 of their marks in a row (up, down, across, or diagonally) is the winner.
  4. When all 9 squares are full, if no player has 3 marks in a row, the game ends in a draw.