An unbeatable AI Tic Tac Toe game!!!
This is GUI game using Tkinter in Python.
You could directly download the executable file to run the game (for Windows only).
The game basically has 2 modes:
As the name suggest, you can play with your partner.
This is an unbeatable AI mode, where the second player is the computer itself. Dare to win!
This mode is achieved by using Minimax Algorithm with and without using Alpha-Beta Pruning Method.
Since I have used cleckbox to start AI mode, you could start AI mode in middle of the two player mode.
(Thus you could win against AI, but by cheating!!)
Note: The 1st move after clicking AI mode is yours.
- Tkinter is easy-to-use Python library for creating GUI.
- As expected, Alpha-Beta Pruning method is faster as it does not compute each and every case.