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.
- 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.
-
Clone the repository: git clone https://github.com/Shubham0202/Tic-Tak-Toe.git
-
Access the Application:
- Open the
index.html
file in a web browser.
- Open the
- 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.
Contributions are welcome! If you'd like to contribute to this project, please fork the repository, make your changes, and submit a pull request.