/TIC-TAC-TOEe

take a preview

Primary LanguageCSSMIT LicenseMIT

Tic Tac Toe Game πŸ•ΉοΈ

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.


🌟 Demo

Check out the live version of the game here.


πŸš€ Installation

Follow these steps to run the game locally:

  1. Clone the repository:
git clone https://github.com/iamparas0/TIC-TAC-TOE.git
  1. Navigate to the project directory:
cd TIC-TAC-TOE
  1. Install dependencies:
npm install
  1. Run the game:
npm start
  1. Open your browser and visit http://localhost:3000 to play the game!

πŸ› οΈ Technologies Used

  • React
  • JavaScript
  • HTML
  • CSS

πŸ“ Game Rules

  • 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.

🌱 Contributing

We welcome contributions to this project! Here’s how you can get started:

  1. Fork the repository to your GitHub account.

  2. Clone your forked repository locally:

git clone https://github.com/your-username/TIC-TAC-TOE.git
  1. Create a new branch for your changes:
git checkout -b feature-branch
  1. Make your changes and commit them with clear messages.

  2. Push your changes to your forked repository:

git push origin feature-branch
  1. Please let me know before PR and aslo put SS or Short video so i can preview .
  2. Submit a pull request to the main repository.

πŸ“„ License

This project is licensed under the MIT License. See the LICENSE file for details.

πŸ“¬ Contact

For any inquiries or suggestions, feel free to reach out to: pearsparas@gmail.com

⭐ Give it a Star!

If you find this project useful, please give it a star!

Enjoy the game and happy coding! πŸŽ‰