A Tic Tac Toe game, implemented in Python, pygame. It includes an unbeatable computer AI. Have a Fun!
If you like it, PLEASE give it a star, Thanks!
You should have pygame
module installed
git clone https://github.com/HosseinDahaei/Tic_Tac_Toe
cd Tic_Tac_Toe
python tictactoe.py
The minimax algorithm is a decision rule used for two-player games. The minimax algorithm simulates all possible moves of both players and then makes the best decision.