A responsive Tic-Tac-Toe game with light/dark theme toggle functionality built with HTML, CSS, and JavaScript.
- 🌓 Light/Dark mode toggle with smooth transitions
- � Responsive design that works on mobile and desktop
- ✨ Modern UI with subtle animations and shadows
- 🔄 Reset button to start a new game
- 🏆 Winner announcement display
- 📱 Mobile-friendly touch controls
- Players take turns clicking on cells to place X or O
- First player to get 3 in a row (horizontally, vertically, or diagonally) wins
- Click the reset button to start a new game
- Toggle the theme button (sun/moon icon) to switch between light and dark modes
- HTML5
- CSS3 (Flexbox, Grid, CSS Variables)
- JavaScript (DOM Manipulation)
- Font Awesome (for icons)
No installation required! Just open index.html in your browser.
To run locally:
git clone https://github.com/your-username/theme-toggle-tic-tac-toe.git cd theme-toggle-tic-tac-toe open index.html