A minimax-based Tic-Tac-Toe AI. It was made with the intent to show the innerworks of minimax. Code can be found in main.py
and tttlib.py
, although the actual minimax algorithm is in the former.
- Text-based display
- Colored text for ease of use
- Frustratingly unbeatable AI
- Alpha-beta pruning
- Clean and simple code designed to be studied