This is a simple implementation of the classic Tic-Tac-Toe game using ReactJS. The project showcases basic React concepts such as state management, component reusability, and event handling, all wrapped up in a fun, interactive game.
- Two-player mode: Play against a friend on the same device.
- Game logic: Automatically checks for a winner and highlights the winning combination.
- Restart Game: Reset the board with a single click to play another round.
- Responsive design: Optimized for both desktop and mobile devices.
- Simple UI: Clean, minimalistic design for an enjoyable experience.
- ReactJS: For building user interfaces and managing the state of the game.
- CSS: For styling the game board and layout.
- JavaScript: For the core game logic and dynamic interaction.
Follow the instructions below to run this project on your local machine.
Before you begin, ensure you have the following installed:
- Node.js (v12.x or higher)
- npm (v6.x or higher)
-
Clone the repository to your local machine:
git clone https://github.com/your-username/tic-tac-toe-react.git