javascript-xo-game
javascript-xo-game copied to clipboard
🎮 Tic-Tac-Toe (XO) — A classic game built with HTML 🌐, CSS 🎨, and JavaScript ⚙️. ✨ Features: 🧩 Responsive board 🖱️ Interactive gameplay 🏆 Win detection 🔁 Restart option
🎮 JavaScript XO Game
This is a Tic-Tac-Toe (XO) game implemented using HTML, CSS, and JavaScript. The game allows two players to compete on a 3x3 grid.
👀 Preview
💻 Desktop

📱 Mobile

🚀 Features
- ✅ Responsive Design: The game adapts to all screen sizes.
- 🎮 Interactive Game Board: Players can place X or O by clicking on cells.
- 🏆 Winner Highlight: The winning combination is highlighted in green.
- 🤝 Draw Detection: If the game ends in a draw, a message is displayed.
- 🔄 Play Again Button: A restart button allows players to reset the game and play again.
🛠️ Installation
To set up and run the XO Game on your local machine:
1️⃣ Clone the Repository
git clone https://github.com/Iqbolshoh/javascript-xo-game.git
2️⃣ Navigate to the Project Directory
cd javascript-xo-game
3️⃣ Open the index.html File
Simply open the index.html file in any modern web browser to start playing.
🖥 Technologies Used
📜 License
This project is open-source and available under the MIT License.
🤝 Contributing
🎯 Contributions are welcome! If you have suggestions or want to enhance the project, feel free to fork the repository and submit a pull request.
📬 Connect with Me
💬 I love meeting new people and discussing tech, business, and creative ideas. Let’s connect! You can reach me on these platforms: