This is an interactive tic-tac-toe game implemented using HTML, CSS and JavaScript. The game has both single and double player modes, with different difficulty levels for the computer opponent.
You can play the game online at: https://amirmohammadpx.github.io/Tic-Tac-Toe-Game
- Single player mode with three difficulty levels: easy, medium and impossible
- Two player mode
- Responsive design
- Dark mode and light mode automatically
- Score tracking
- Animated game screen and cells
- Choose between single player or two player mode.
- If you are playing solo, select the difficulty level.
- Click on the cells to make your move.
- The game will automatically change turns and check for a winner.
- Use the "New Game" button to start a new game with the same settings.
- Use the "Change game mode" button to return to the mode selection screen.
- HTML5
- CSS3
- JavaScript (ES6+)
- Bootstrap icons
To run this project locally, simply clone the repository and open the index.html
file in your web browser.
git clone https://github.com/amirmohammadpx/Tic-Tac-Toe-Game.git
cd Tic-Tac-Toe-Game
Then open index.html
in your preferred web browser.