This repository contains a fun and interactive Tic Tac Toe game developed using HTML, CSS, and JavaScript. The game offers a classic two-player experience, where players take turns marking 'X' and 'O' on the 3x3 grid until one of them wins or the game ends in a draw.
- Clone this repository to your local machine using
git clone https://github.com/AbhishekU19/Tic-Tac-Toe.git
. - Navigate to the project directory:
cd tic-tac-toe
. - Open the
index.html
file in a web browser. - The game will start with Player 1 (X) making the first move.
- Players take turns clicking on the empty cells to place their respective marks.
- The first player to get three of their marks in a row (horizontally, vertically, or diagonally) wins.
- If all the cells are filled and no player has won, the game ends in a draw.
Enjoy the classic game of Tic Tac Toe with a friend and have fun competing!
Feel free to contribute to the project by suggesting improvements, reporting issues, or adding new features. Fork this repository, make your changes, and submit a pull request. Your contributions are highly appreciated.
Happy gaming!