An AI powered Tic-Tac-Toe written in Python.
-
Available in two modes that are:
a. Human vs Human Mode
b. Human vs AI Mode
-
Names for AI and Humans are configurable.
-
Turns can be chosen by players,to let which player to move first.
-
Players can choose the logo(zero or cross) on their own.
-
As the name suggests, Human vs AI mode is unbeatable.
Python3
Pillow
Tk
- Clone the repo by given command below or Download and extract the repo in a folder.
git clone https://github.com/RoyalEagle73/Unbeatable-Tic-Tac-Toe.git
- Install the dependencied using given command.
pip3 install -r Requirements.txt
- Now, It's ready to play.
-
Open a terminal in the same directory as the downloaded folder.
-
Start the program using given command and follow the instructions.
python3 game.py
In case you find any bug in the game, please raise an issue in repo or mail at deepakchauhan878@gmail.com
If you think, you can make it even better, just fork the repo and start coding on yout own version.
Python3
Credits for AI Algorithm Cledersonbc/tic-tac-toe-minimax