Skip to content

🕹️ A simple and interactive Tic-Tac-Toe game developed using HTML, CSS, and JavaScript. Features responsive design, multiplayer mode, and computer opponent gameplay. 🎮

Notifications You must be signed in to change notification settings

Madhav-P-2005/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe 🎮 | Project 1

A simple Tic-Tac-Toe game built using HTML, CSS, and JavaScript. This project helped me strengthen my JavaScript skills through hands-on implementation and logical problem-solving.

Features ✨

  • Play Modes: Play against a friend or the computer.
  • Interactive UI: A clean and responsive design.
  • Winning Highlight: A line-through effect for the winning combination.
  • Dynamic Gameplay: Players take turns, and the game announces the winner or a draw.

Concepts Covered 📌

  • JavaScript DOM Manipulation
  • Event Handling
  • Conditional Statements
  • Arrays & Loops
  • CSS Styling & Responsiveness
  • Media Queries for Mobile Support

How to Play? 🕹️

  1. Click on a cell to mark X or O.
  2. Players take turns until there is a winner or a draw.
  3. The game highlights the winning line and announces the result.

💡 Mastering JavaScript through project-based learning!
Feel free to check out my work and give feedback. More projects coming soon! 🚀

About

🕹️ A simple and interactive Tic-Tac-Toe game developed using HTML, CSS, and JavaScript. Features responsive design, multiplayer mode, and computer opponent gameplay. 🎮

Topics

Resources

Stars

Watchers

Forks