Tic-Tac-Toe Perfect AI



About the project:

This was a fun project to write. It is an interactive tic-tac-toe game, displayed in pygame, that is impossible for any user to beat. I think it would be cool to one day write my own chess algorithm, so I decided to start off a little simpler and do a tic-tac-toe game that you can't beat. I did not write the algorithm, it's called the minimax algorithm and is pretty common, cool, and useful! Check out more info on it here.

You can find all the code here.