Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 762 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 762 Bytes

Tic Tac Toe

##Description

This is a simple Tic Tac Toe game built using HTML, CSS, and JavaScript. It allows two players to take turns placing their marks (X or O) on a 3x3 grid. The first player to get three of their marks in a row, column, or diagonal wins the game.

##Features

  • Responsive design
  • Win detection
  • Reset button to start a new game

##Installation

  1. Clone the repository or download the ZIP file.
  2. Open the index.html file in your web browser.

##Usage

  1. Click on any empty box to place your mark.
  2. Players take turns until one wins or all boxes are filled.
  3. If a player wins, a message will display the winner.
  4. Click "New Game" to start a new game.
  5. Click "Reset" to clear the board and start over.