Skip to content

abhishekrajverma/Tic-Tac-Toe-Using-JavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe Game

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

Table of Contents

Demo

You can play the game online at Demo Link.

Tic Tac Toe Screenshot

Features

  • Classic 3x3 Tic Tac Toe game.
  • Two-player mode.
  • Responsive design for desktop and mobile.

How to Play

  1. Open the game in a web browser.
  2. Click on any empty square to make a move.
  3. The game will alternate between X and O players.
  4. The first player to get three of their marks in a row (horizontally, vertically, or diagonally) wins the game.
  5. If all squares are filled, the game ends in a draw.

Installation

To run the game locally, follow these steps:

  1. Clone the repository:
git clone https://github.com/abhishekrajverma/Tic-Tac-Toe-Using-JavaScript.git