This is a simple Tic Tac Toe game built with React. It allows two players to take turns marking cells in a 3x3 grid. The player who successfully places three marks in a row (horizontal, vertical, or diagonal) wins the game. If all cells are filled with no winner, the game results in a draw.
Check out the live version of the game here.
Follow these steps to run the game locally:
- Clone the repository:
git clone https://github.com/iamparas0/TIC-TAC-TOE.git
- Navigate to the project directory:
cd TIC-TAC-TOE
- Install dependencies:
npm install
- Run the game:
npm start
- Open your browser and visit
http://localhost:3000
to play the game!
- React
- JavaScript
- HTML
- CSS
- Two players take turns marking the grid.
- Player 1 uses "X", and Player 2 uses "O".
- The first player to align three marks horizontally, vertically, or diagonally wins.
- If all cells are filled with no winner, the game ends in a draw.
We welcome contributions to this project! Here’s how you can get started:
-
Fork the repository to your GitHub account.
-
Clone your forked repository locally:
git clone https://github.com/your-username/TIC-TAC-TOE.git
- Create a new branch for your changes:
git checkout -b feature-branch
-
Make your changes and commit them with clear messages.
-
Push your changes to your forked repository:
git push origin feature-branch
- Please let me know before PR and aslo put SS or Short video so i can preview .
- Submit a pull request to the main repository.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or suggestions, feel free to reach out to: [email protected]
If you find this project useful, please give it a star!