Tic-Tac-Toe is a classic two-player game implemented in JavaScript. This project allows you to play Tic-Tac-Toe in your web browser. This was created as a project in the JavaScript Path of The Odin Project
You can play the game live at Tic-Tac-Toe Demo.
- Classic Tic-Tac-Toe gameplay.
- Two-player mode.
- Player vs Computer (easy) mode.
- Player vs Computer (hard - unbeatable) mode
- Responsive design for various screen sizes.
- Open the game in your web browser.
- Two players take turns to click on an empty cell on the game board.
- The first player to form a horizontal, vertical, or diagonal line of their marker (X or O) wins the game.
- If the game board is filled, and no player has won, the game ends in a draw.
Contributions are welcome! If you'd like to contribute to this project, please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your fork.
- Create a pull request.
This project is licensed under the MIT LICENSE
Due to the complexity surrounding minimax alpha-beta pruning algorithm. I can't but acknowledge the creators of contents i read on the topic
From Wikipedia to YouTube creators. A big thanks.