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.