This is a simple implementation of the classic Tic Tac Toe game built with React. Enjoy a two-player game where each player takes turns to place their mark (X or O) on a 3x3 grid. The first player to have three of their marks in a row (horizontally, vertically, or diagonally) wins the game.
- Two-player gameplay.
- Dynamic board that updates as players make moves.
- Clear winner determination with winning lines highlighted.
- Option to restart the game after completion.
- HTML
- CSS
- React
You can try out the live demo of the game Deploy Link.
To run the game locally, follow these steps:
- Clone the repository
- Install Dependencies (
npm install
) - Run locally (
npm run dev
)