You are X · AI is O · Scores saved between sessions
Get three of your marks in a row — horizontally, vertically, or diagonally — before your opponent does.
Play as X against the AI (O). The AI uses the minimax algorithm and plays perfectly — your best result is a draw!
Two players take turns on the same device. X goes first, then O, alternating each turn.
No — the AI plays perfectly using minimax and will never make a mistake. The best you can achieve is a draw.
Yes — wins, draws, and losses are saved in your browser and persist between sessions.
Minimax is a game-theory algorithm that evaluates all possible future moves and picks the one most likely to win. It guarantees optimal play.