Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 1.22 KB

File metadata and controls

54 lines (41 loc) · 1.22 KB

🎮 Tic Tac Toe Game

A simple Tic Tac Toe game built with HTML, CSS, and JavaScript.
Play as Player X or Player O and see who wins — or if it’s a draw!


🚀 Live Demo

(After enabling GitHub Pages, your game will be playable here.)
👉 Play Tic Tac Toe (link will work after setup)


📂 Project Structure

tic-tac-toe/
 ├── index.html   # Main game page
 ├── style.css    # Styling for the board & UI
 └── script.js    # Game logic

🎯 Features

  • Classic 3x3 Tic Tac Toe board
  • Two-player mode (X vs O)
  • Detects winners and draws
  • Restart button to play again

🛠️ How to Run

  1. Clone the repository:
    git clone https://github.com/DigitalEforce/tic-tac-toe.git
  2. Open index.html in your browser.
  3. Start playing! 🎉

🌐 Deploy to GitHub Pages

  1. Go to your repo Settings → Pages
  2. Under Source, select branch: main and folder: / (root)
  3. Click Save
  4. Your game will be live at:
    https://digitaleforce.github.io/tic-tac-toe/
    

📜 License

This project is open-source under the MIT License.