This is a classic game where two players take turns marking squares in a 3x3 grid. The goal is to get three of your marks in a row, either horizontally, vertically, or diagonally, before your opponent.
You are X, and the AI is O. Click any empty square to make your move. The AI uses the Minimax algorithm to find the optimal move.
Hover over a node in the tree to highlight the corresponding square on the Tic-Tac-Toe board.