Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 946 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 946 Bytes

TicTacToe Game

A simple TicTacToe game built using HTML, CSS, and JavaScript. This project allows users to play TicTacToe on a 3x3 grid. Players take turns to mark their moves, and the game detects when there is a winner or a draw. The game also includes a reset button to start a new game.

Features:

  • Interactive 3x3 grid where players click to make their moves.
  • Visual indication of the winning line when a player wins.
  • The game resets automatically when a win or draw occurs.
  • Includes a reset button to restart the game manually.

Technologies used:

  • HTML: For the structure and layout of the game board.
  • CSS: For styling and positioning elements.
  • JavaScript: For game logic, handling player turns, and checking for a win condition.

How to Run:

  1. Download the project files.
  2. Open the index.html file in your web browser to play the game.

License:

This project is licensed under the MIT License.