๐ Live Demo
A modern, responsive, and interactive Tic Tac Toe game built using HTML, CSS, and JavaScript with a clean UI and persistent data using localStorage. Play with your friends, track scores, and enjoy a smooth responsive UI ๐
- โก Fast and lightweight (no frameworks)
- ๐จ Modern glass-morphism UI
- ๐ฑ Fully responsive design
- โ๏ธ Double click to edit player names
- ๐ Score tracking system
- ๐พ Data stored in localStorage
- ๐ Alternating first turn system (fair gameplay)
- HTML5
- CSS3
- JavaScript
- ๐ฎ 2 Player gameplay (X vs O)
- ๐ Alternating starting player (fair turn system)
- ๐ค Editable player names (double click)
- ๐ Live score tracking
- ๐พ Persistent data using localStorage
- ๐ New Game โ resets board only
- ๐ Reset โ resets entire game (including scores)
- ๐ค Tie detection system
- ๐ Clean result screen (players hidden on win)
- ๐ข Active player turn highlight
project/
โ
โโโ assets/
โ โโโ css/
โ โ โโโ style.css
โ โโโ js/
โ โโโ script.js
โโโ index.html
โโโ LICENSE/
โโโ README.md/
Follow these steps to run locally:
# 1. Clone the repository
git clone https://github.com/webdev-desktop/Tic-Tac-Toe.git
# 2. Navigate to folder
cd Tic-Tac-Toe
# 3. Open in browser
Open index.html- Click on any box to start the game
- Players take turns automatically (X / O)
- Starting player alternates every new game
- Double click player name โ edit
- Winner gets score updated automatically
- Click New Game โ resets board only
- Click Reset โ resets full game (scores included)
- Scores persist after refresh
- ๐ค AI opponent (play vs computer)
- ๐ฏ Winning line highlight animation
- ๐ Sound effects
- ๐ Dark / Light mode toggle
Contributions are welcome!
# Fork the repo
# Create new branch
git checkout -b feature/your-feature
# Commit
git commit -m "Add feature"
# Push
git push origin feature/your-featureThen open a Pull Request ๐
Made with โค๏ธ by Apurv (WebDev Admin) ๐ GitHub
This project is licensed under the MIT License.
โญ If you like this project, don't forget to star the repo!

