A classic Tic Tac Toe game with a graphical interface built using Python's standard Tkinter library. You play as X against an AI opponent (O) that uses the Minimax algorithm.
- Clean, simple GUI with Tkinter, no external libraries required
- AI opponent using the Minimax algorithm
- Live scoreboard tracking Human (X) wins vs AI (O) wins
- Automatic board reset after each round
- Python 3.x (Tkinter ships with the standard Python distribution on Windows and macOS)
Linux users: Tkinter may need to be installed separately:
sudo apt install python3-tk
No pip install needed, this project uses only the standard library.
python tic-tac-toe.py