Tic-Tac-Toe
Play X against an O computer that explains every move.
Checking API...
Loading...
Preparing the board.
Move explanation
Play a move to see the computer's reasoning.
Move history
No moves yet.
Help
You are X. Click an empty square. The computer responds as O.
The computer checks for an immediate win, then a required block, then evaluates every legal move using perfect play.
The original one-file version is preserved at legacy.php.