A simple and responsive Tic Tac Toe game built with HTML, CSS, and JavaScript.
Players take turns marking the grid, and the game automatically detects the winner or a draw.
- ๐ฒ Two-player gameplay
- ๐ Score tracking for Player 1 and Player 2
- โจ Winner popup with close button
- ๐ New Game and Reset options
- ๐ฑ Responsive design (works on desktop & mobile)
- ๐จ Clean UI with animations
๐ ๏ธ Tech Stack HTML5 โ Game structure
CSS3 โ Styling and responsiveness
JavaScript (Vanilla) โ Game logic
Player 1 starts with X, Player 2 with O.
Players take turns clicking on boxes.
The game declares a winner or a draw.
Use New Game to play again or Reset to clear scores.
๐ Project Structure pgsql Copy code tic-tac-toe/ โโโ index.html โโโ style.css โโโ script.js โโโ img/ โ โโโ 1.png โ โโโ close.svg โ โโโ wor.webp โ โโโ screenshot.png ๐ Future Improvements ๐ Add sound effects
๐ค Add single-player mode with AI
๐ Deploy online: https://tic-tac-toe-game-jvafz1s3l-haseeb-code1s-projects.vercel.app/
๐ License This project is licensed under the MIT License โ feel free to use and modify# Tic-Tac-Toe-Game