Skip to content

Latest commit

 

History

History
102 lines (82 loc) · 3.98 KB

README.md

File metadata and controls

102 lines (82 loc) · 3.98 KB

Tic-Tac-Toe (XO) game

This is a simple Tic-Tac-Toe (XO) game implemented using HTML, CSS, and JavaScript. The game allows two players to play against each other on a 3x3 grid.

Preview

Desktop

Desktop Preview

Mobile

Mobile Preview

Features

  • Responsive Design: The game board adjusts to different screen sizes.
  • Interactive Game Board: Players can click on cells to mark X or O.
  • Winner Highlight: The winning combination of cells is highlighted with a green color.
  • Draw Detection: If the game ends in a draw, a message is displayed.
  • Play Again: A restart button is provided 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: You can open the index.html file in any modern web browser to start playing the game. Simply double-click the file or open it using your browser's "Open File" option.

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 connecting with new people and exploring new opportunities. Feel free to reach out to me through any of the platforms below:

GitHub Telegram LinkedIn instagram WhatsApp Twitter Email