Skip to content

AdityaVatsS/Tic-Tac-Toe

Repository files navigation

Tic Tac Toe Game by Aditya Prakash

Description

This project is a classic Tic Tac Toe game designed for web browsers. It is implemented using HTML for the structure, CSS for styling, and JavaScript for interactivity. The game allows two players to take turns marking X or O on a 3x3 grid. The first player to get three of their marks in a row (horizontally, vertically, or diagonally) wins the game.

Features

  • Responsive design for various screen sizes.
  • Dynamic updating of the game board without page reload.
  • Clear display of the winner or a draw result.
  • Easy-to-understand user interface.

How to Play

  1. Open the index.html file in your web browser.
  2. Two players take turns clicking on an empty cell to place their respective marks.
  3. The game will automatically determine the winner or declare a draw.
  4. Click the "Restart" button to play again.

Technologies Used

  • HTML5: Provides the structure of the game.
  • CSS3: Adds styling for an attractive and responsive layout.
  • JavaScript: Implements the game logic and interactivity.

Demo

Include a screenshot or link to a live demo if available.

Installation

No installation is required. Simply open the index.html file in a web browser.

Contributing

If you have any suggestions, improvements, or find any issues, please feel free to open an issue or submit a pull request.

Enjoy playing Tic Tac Toe!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published