Build Tic-Tac-Toe with an unbeatable AI opponent using the minimax algorithm. Include multiple difficulty levels, move history with replay, and win/draw animations.
aiminimaxstrategyalgorithm
Objectives
Implement the game board with click handling
Build an unbeatable AI using minimax with alpha-beta pruning
Add difficulty levels (easy, medium, impossible)
Track and display move history with replay
Animate winning lines and draw states
Hints
Minimax is a recursive algorithm that evaluates all possible moves