A browser-based Tic Tac Toe game built using HTML, CSS, and JavaScript.
This project focuses on implementing core game logic, handling user interactions, and maintaining predictable UI behavior.
- Player selection (X / O)
- Win detection
- Draw detection
- Game reset functionality
- Winner highlight message
- Confetti celebration 🎉
- Clean and responsive layout
While building this project, I strengthened my understanding of:
- DOM manipulation
- Event handling
- State management in JavaScript
- Writing safer conditional logic
- Preventing invalid user actions
- Structuring small projects properly
- HTML
- CSS
- JavaScript
- Clone the repository:
git clone https://github.com/mohithackz/tic-tac-toe.git
- Open
index.htmlin your browser.
- Score tracking
- AI opponent
- Sound effects
- Mobile optimization
Mohit Yadav