link : https://harshit-tic-tac-toe.netlify.app/
Welcome to my Tic Tac Toe game built with Vite and React! This simple yet classic game allows two players to compete against each other in a battle of Xs and Os.
- Responsive Design: Play the game seamlessly on various devices, thanks to the responsive layout.
- Turn-based Gameplay: Take turns with your opponent, marking the grid with your respective symbol.
- Winning Logic: The game automatically detects and declares the winner when a player gets three symbols in a row (horizontally, vertically, or diagonally).
- Reset Functionality: Start a new game with the reset button to enjoy multiple rounds.
-
Clone the repository to your local machine.
git clone https://github.com/Harshitshukla0208/Tic-Tac-Toe-react
-
Navigate to the project directory.
cd Tic-Tac-Toe-react
-
Install dependencies using npm or yarn.
npm install # or yarn install
-
Start the development server.
npm run dev # or yarn dev
-
Open your browser and go to http://localhost:3000 to play the Tic Tac Toe game.
-
Enjoy the game by taking turns with a friend or family member. Have fun!
Contributions are welcome! If you have any suggestions, improvements, or bug fixes, feel free to open an issue or create a pull request.
This project is licensed under the MIT License.
Happy gaming!