Simple Tick-Tac-Toe Game

How to play the game.

  • There are two Players: Player 1 (X) and Player 2 (O)
  • Each Player will take alternate turns. (Player X takes first turn)
  • The Application will show the current user to play and will mark the board square with the player's symbol
  • The Application will declare a winner when either player has 3 consecutive symbol's (vertical, horizontal, diagonal)
  • The Application will declare draw if neither player made a match. (After all the squares are marked)
  • Refrest the page to play again.
  • Note: This project is open source you can use it/add new features. Take a look at GitHub repo
Player X's turn