Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.05 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.05 KB

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