Skip to content

Tic Tac Toe Game – A fun and simple 2-player game where X and O take turns marking spaces on a 3x3 grid. First to get 3 in a row wins!

Notifications You must be signed in to change notification settings

VedantPadole52/Tic-Tac-Toe-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Tic Tac Toe Game.

A simple web-based Tic Tac Toe game using HTML, CSS, and JavaScript.

How to Play

  • Two players take turns marking the spaces in a 3×3 grid.
  • Player 1 is X and Player 2 is O.
  • The first player to get 3 of their marks in a row (vertically, horizontally, or diagonally) wins.
  • If all 9 boxes are filled and no player has won, it's a draw.

Technologies Used

  • HTML – Structure of the game
  • CSS – Styling and layout
  • JavaScript – Game logic and interactivity

Files Included

  • index.html – Structure of the game board
  • style.css – Visual design and layout
  • app.js – Handles the game logic and turns

How to Run

  1. Download or clone this repository.
  2. Open the index.html file in your web browser.
  3. Start playing with a friend

Live Demo Link :

https://tic-tac-toe-game-seven-mu.vercel.app/

About

Tic Tac Toe Game – A fun and simple 2-player game where X and O take turns marking spaces on a 3x3 grid. First to get 3 in a row wins!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published