Skip to content

abhiramreddy1818/TTTGUJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

A responsive Tic-Tac-Toe game with light/dark theme toggle functionality built with HTML, CSS, and JavaScript.

Features

  • 🌓 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

How to Play

  1. Players take turns clicking on cells to place X or O
  2. First player to get 3 in a row (horizontally, vertically, or diagonally) wins
  3. Click the reset button to start a new game
  4. Toggle the theme button (sun/moon icon) to switch between light and dark modes

Technologies Used

  • HTML5
  • CSS3 (Flexbox, Grid, CSS Variables)
  • JavaScript (DOM Manipulation)
  • Font Awesome (for icons)

Installation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published