Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 1.58 KB

README.md

File metadata and controls

62 lines (42 loc) · 1.58 KB

Tic-Tac-Toe Game ❌ ⭕

This is a simple Tic-Tac-Toe game project built using HTML, CSS, and JavaScript. It was developed as a small project to practice the logic and functionality of JavaScript.


Overview


overview

Features

  • Playable X vs O game against the computer.

  • Sound effects for different game outcomes.

    • Sounds play when a move results in a win, loss, or tie.
  • The game keeps track of:

    • Number of Wins
    • Number of Losses
    • Number of Ties
  • A challenging experience where the player competes against an AI opponent.


How to Play

  • The player is X and the computer is O.
  • Players take turns placing their marker (X or O) in one of the nine squares.
  • The first to get three in a row (horizontally, vertically, or diagonally) wins.
  • If all squares are filled and no player has won, the game ends in a tie.

How to Run the Game

  1. Clone or download the repository:
git clone https://github.com/abdrrahim2002/Tic-Tac-Toe-Game.git
  1. Open the project in VScode

  2. Install the Live Server extension in VS Code if you haven't already.

  3. Right-click on tic tac toe.html and select Open with Live Server to start the game.

  4. Enjoy !!!


Technologies Used

  • HTML
  • CSS
  • JavaScript

Acknowledgments

This project was built as a way to enhance my JavaScript skills, focusing on game logic. Thank you for checking out my Tic-Tac-Toe game!