Skip to content

iamparas0/TIC-TAC-TOE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/paras
  1. Install dependencies:
npm install
  1. Run the game:
npm run 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.

🌟 Our Contributors


📬 Contact

For any inquiries or suggestions, feel free to reach out to: [email protected]

⭐ Give it a Star!

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

Enjoy the game and happy coding! 🎉