Skip to content

Prathamgupta661/Tic-Tac-Toe-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Tic Tac Toe Game

This is a simple implementation of the classic Tic Tac Toe game built with HTML, CSS, and JavaScript.

Description

Tic Tac Toe is a two-player game where each player takes turns marking spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game.

Features

  • Interactive UI for playing the game
  • Single and two-player modes
  • Simple and clean design

How to Play

  1. Clone the repository to your local machine.
  2. Open the index.html file in your web browser.
  3. Choose the game mode: Single Player or Two Player.
  4. Click on the grid to make your move.
  5. The game will announce a winner or a tie.

Technologies Used

  • HTML: Structure of the game board and modals.
  • CSS: Styling of the game board and UI elements.
  • JavaScript: Game logic and player interactions.

Setup

To set up the game locally, follow these steps:

git clone https://github.com/Prathamgupta661/Tic-Tac-Toe-Game.git
cd Tic-Tac-Toe-Game
# Open index.html in your browser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published