This project is a modern take on the classic Tic Tac Toe game, developed as a personal learning exercise using vanilla JavaScript. It features real-time turn logic, interactive sound effects, and a celebratory confetti animation on winning. Designed with modular code structure and playful UI elements, it's a small but polished frontend project showcasing DOM manipulation and event-driven logic in action.
- You can play the game live here: Tic Tac Toe Live Demo
🏆 Win with Confetti Celebration
- 🧠 2-player Tic Tac Toe game with turn-based logic
- 🎵 Mario-themed sound effects on move, win, and draw
- 🎉 Confetti celebration on victory
- 🚫 Visual feedback (shake effect) for invalid moves
- 🔁 Reset and New Game options
- 💡 Clean, interactive UI
- HTML5
- CSS3
- JavaScript (ES6)
- Canvas Confetti (via CDN)
The layout is built using responsive Flexbox and Grid. Color-coded marks, smooth transitions, and sound feedback enhance the user experience. The UI is minimal yet playful, inspired by retro games.
Follow these steps in order to kickstart your project:
- Clone the Repository:
git clone [email protected]:RajatTheDev/Tic-Tac-Toe.git
- Open the
index.html
file in your preferred browser to view the content. 🌐
- Sound effects: Super Mario Bros. WAVs from The Mushroom Kingdom (used for educational purposes only)
- Confetti effect: Canvas Confetti via CDN
This project is covered by the MIT License, which means it's open for collaboration and sharing.