Live Demo ๐ https://tic-tac-toe-by-zaveriya.vercel.app/
A classic 2-player Tic Tac Toe (X & O) game built with HTML, CSS, and JavaScript. This fun little web app allows two players to play against each other on the same screen โ simple, interactive, and responsive!
- ๐ง 2 Player Mode โ Play with a friend on the same device.
- ๐ Win Detection โ Smart logic to detect when a player wins or if the game is drawn.
- ๐ Restart Button โ Instantly reset the board to play again.
- ๐ป Responsive Design โ Smooth experience across devices (mobile, tablet, desktop).
- ๐จ Clean UI and interactive hover effects.
| Frontend |
|---|
| โ HTML5 |
| โ CSS3 |
| โ JavaScript (Vanilla) |
To run the project locally:
git clone https://github.com/zaveriya-khan/tic-tac-toe.git
cd tic-tac-toe
open index.html