Skip to content

An AI based Tic Tac Toe game where the AI uses minimax alpha beta pruning algorithm to determine the best possible move.

Notifications You must be signed in to change notification settings

Samin005/Tic-Tac-Toe-AI-Desktop-

Repository files navigation

Tic-Tac-Toe-AI (Desktop)

An AI based Tic Tac Toe game.
There are 3 modes:

  1. Hard: You will play against an AI that uses the Minimax Alpha Beta Pruning Algorithm to make the best move possible. You won't win, the best thing you can do is a tie!
  2. Easy: You will play against an AI that randomly chooses its next move.
  3. 2 Players: You can play with your friend in a friendly game of Tic Tac Toe.

To Play the Game:

Make sure Python 3+ is installed. Then go to the game directory and open cmd/terminal:
# Install the reuired packages, you only need to run this the first time.
pip install -r requirements.txt
# Play the game:
python app.py
Windows users can simply double click on "Install Game (Windows) to install the game and then double click on "Play Tic Tac Toe (Windows)" to play the game.

Screenshots

image
image
image

About

An AI based Tic Tac Toe game where the AI uses minimax alpha beta pruning algorithm to determine the best possible move.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published