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!
(After enabling GitHub Pages, your game will be playable here.)
👉 Play Tic Tac Toe (link will work after setup)
tic-tac-toe/
├── index.html # Main game page
├── style.css # Styling for the board & UI
└── script.js # Game logic
- Classic 3x3 Tic Tac Toe board
- Two-player mode (X vs O)
- Detects winners and draws
- Restart button to play again
- Clone the repository:
git clone https://github.com/DigitalEforce/tic-tac-toe.git
- Open
index.htmlin your browser. - Start playing! 🎉
- Go to your repo Settings → Pages
- Under Source, select branch:
mainand folder:/ (root) - Click Save
- Your game will be live at:
https://digitaleforce.github.io/tic-tac-toe/
This project is open-source under the MIT License.