Tic Tac Toe Game
This is a Simple Tic Tac Toe Game playable for 2 players.
Live Link – https://shobhit1338.github.io/Tic-Tac-Toe-using-React/
Features
- Play as A and B with your partner (2 Players).
- Click on any valid Box to put your sign of either ‘X’ or ‘O’.
- Already clicked box becomes disabled.
- Result pops-up after the game is finished.
- Restart a new game by clicking on ‘Restart Game’.
- Track game history above the box with count of each player’s win games.
- Clear all previous history of games by clicking on ‘Clear History’.
This Application was created using JavaScript, React.js, and HTML/CSS.
Sample GIF
Installation
This requires React v18.2.0+ to run.
Install the dependencies and start the server.
npm run start
Enjoy The Game!