Skip to content

A classic Tic-Tac-Toe (XO) game built with HTML, CSS, and JavaScript. 🎮 Features a responsive board, interactive gameplay, win detection, and a restart option. ℹ️

Notifications You must be signed in to change notification settings

Iqbolshoh/javascript-xo-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

11fa2c0 · Mar 8, 2025

History

31 Commits
Dec 31, 2024
Mar 8, 2025
Dec 31, 2024
Dec 31, 2024

Repository files navigation

🎮 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

Desktop Preview

📱 Mobile

Mobile Preview

🚀 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

HTML CSS JavaScript

🤝 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:

About

A classic Tic-Tac-Toe (XO) game built with HTML, CSS, and JavaScript. 🎮 Features a responsive board, interactive gameplay, win detection, and a restart option. ℹ️

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published