Unbeatable Tic-Tac-Toe

Unbeatable Tic-Tac-Toe

Tic-tac-toe is a solved game: with perfect play from both sides it always ends in a draw. This AI plays perfectly. Your best result is a tie.

With perfect play from here Draw

Your move. You're X.

You won0
Draws0
AI won0

The AI runs a full minimax search over every possible continuation (there are 255,168 complete games). It takes the fastest win and, if it ever could lose, the slowest loss. It never can.