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