/TicTacToe

🎮 Classic Tic Tac Toe game built with HTML, CSS, and JavaScript. Play against a friend on the same device. Responsive design. Clear winner notifications. Check out the live demo! 🌐 [Demo]

Primary LanguageCSS

Tic Tac Toe Game

Welcome to my Tic Tac Toe game implemented using HTML, CSS, and JavaScript.

Overview

This project is a simple implementation of the classic Tic Tac Toe game. It allows two players to take turns marking spaces on a 3x3 grid, with the objective of getting three in a row horizontally, vertically, or diagonally.

Features

  • Two-player functionality: Play against a friend on the same device.
  • Responsive design: Enjoy the game on various screen sizes.
  • Clear winner notification: Instantly know when a player wins or when the game ends in a draw.

Demo

For a live demo, check out Tic Tac Toe Game Demo.

How to Play

  1. Open the game in your web browser.
  2. Player 1 (X) and Player 2 (O) take turns clicking on empty spaces to make their move.
  3. The first player to get three in a row horizontally, vertically, or diagonally wins.
  4. If the grid is filled without a winner, the game ends in a draw.

Installation

  1. Clone the repository:

    git clone https://github.com/kartikmickey/TicTacToe.git