Skip to content

RajatTheDev/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

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.

Table of Content

Live Website

Preview

🕹️ Form Preview Start Screen

🎮 Game Start Screen Game Screen

🏆 Win with Confetti Celebration Win Confetti

Features

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

Technologies Used

  • HTML5
  • CSS3
  • JavaScript (ES6)
  • Canvas Confetti (via CDN)

Layout and Design

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.

Getting Started

Follow these steps in order to kickstart your project:

  1. Clone the Repository: git clone [email protected]:RajatTheDev/Tic-Tac-Toe.git
  2. Open the index.html file in your preferred browser to view the content. 🌐

Credits

License

This project is covered by the MIT License, which means it's open for collaboration and sharing.

About

A fun 2-player Tic Tac Toe game with sounds, animations, and a clean UI — built using HTML, CSS, and JavaScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published