A simple Tic Tac Toe 'AI' using min max algorithm. The min max used here is the most simplified version of min max you can get.
No depth value or anything fancy. It works.
pip3 install flet
git clone https://github.com/Adwaith-Rajesh/min-max-tic-tac-toe.git
python3 ui.py
It will take some time for the first move to compute. Things are a bit slow.
- [] Make it faster.
- use Alpha Beta Pruning
- write the algo as a c extension (why not)
- [] Allow the player to choose sides