Tic-Tac-Toe Game Using Pure HTML, CSS & JavaScript
This is a simple Tic Tac Toe game created using pure HTML, CSS, and JavaScript.
You can play the game online here.
- Classic Tic Tac Toe gameplay.
- Interactive user interface.
- Fully Responsive, You Can Play It on Your Favorite Device.
- Support for two players.
- Real-time validation of moves.
- Automatic detection of game outcomes (win, draw).
- Restart option to play again.
- Reset The Game After Game Play
-
Clone the repository: git clone : https://github.com/byomkesh03/Tic-Tac-Toe.git
-
Open the project folder.
-
Run the
index.html
file in your preferred web browser.
- Click on any empty cell to make your move.
- The game alternates between the two players (Player 1 and Player 2).
- The first player to get three marks in a row (horizontally, vertically, or diagonally) wins.
- If no player achieves a winning combination and there are no empty cells left, the game is a draw.
- Click the "Restart" button to start a new game.
Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.
- This game was inspired by the classic Tic Tac Toe game.
If you have any questions, suggestions, or feedback, feel free to contact me at [email protected]
- Click on the link to view the project :- https://byomkesh03.github.io/Tic-Tac-Toe/