Skip to content

This project is a simple web-based Tic Tac Toe game developed using HTML, CSS, and JavaScript. It allows two players to play Tic Tac Toe against each other in a web browser.

Notifications You must be signed in to change notification settings

Shubham0202/Tic-Tak-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe Game

This project is a simple web-based Tic Tac Toe game developed using HTML, CSS, and JavaScript. It allows two players to play Tic Tac Toe against each other in a web browser.

Live Demo

Features

  • Player Versus Player: Two players can take turns playing Tic Tac Toe on the same device.
  • Responsive Design: The game is designed to work on various screen sizes, including desktop and mobile devices.
  • Win Detection: The game detects when a player wins or if the game ends in a draw.
  • Reset Option: Players can reset the game to start a new round.

Installation

  1. Clone the repository: git clone https://github.com/Shubham0202/Tic-Tak-Toe.git

  2. Access the Application:

    • Open the index.html file in a web browser.

Usage

  • Gameplay: Two players take turns clicking on empty cells to place their marks (X or O) on the board.
  • Winning Condition: The game automatically detects when a player wins by getting three marks in a row (horizontally, vertically, or diagonally) or if the game ends in a draw.
  • Reset: Players can click on the "Reset" button to start a new round.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please fork the repository, make your changes, and submit a pull request.

About

This project is a simple web-based Tic Tac Toe game developed using HTML, CSS, and JavaScript. It allows two players to play Tic Tac Toe against each other in a web browser.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published