Welcome to the classic game of Tic-Tac-Toe, built with React!
Challenge a friend and see who can claim three squares in a row first!
- Two-player mode for head-to-head battles
- Clean and intuitive UI for easy gameplay ✨
- Clear win notifications to celebrate victory
- Restart button for endless rematches
-
Clone the repository:
git clone https://github.com/md-rejoyan-islam/react-Tic-Tac-Toe-game
-
Install dependencies:
npm install
-
Start the development server:
npm start
-
Live Preview
https://react-tic-tac-toe-game-rejoyan.netlify.app/
- Player 1 starts by clicking on a square to place an 'X'.
- Player 2 then clicks on a square to place an 'O'.
- Players take turns placing their marks until one player achieves three in a row, either horizontally, vertically, or diagonally.