Skip to content

Adwaith-Rajesh/min-max-tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe w/ Min Max

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.

Try it....

Install the dependencies

pip3 install flet

Clone the repo

git clone https://github.com/Adwaith-Rajesh/min-max-tic-tac-toe.git

Run the file

python3 ui.py

It will take some time for the first move to compute. Things are a bit slow.

TODO's

  • [] Make it faster.
    • use Alpha Beta Pruning
    • write the algo as a c extension (why not)
  • [] Allow the player to choose sides

That's It. Bye.....

About

tic tac toe with min max algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages