Take turns placing X and O on a 3 × 3 grid. Three of your marks in a row, column or diagonal wins; a full board with no line is a draw.
Play against the computer at three levels or pass the device to a friend. The hard level plays perfectly, so the best anyone can do against it is a draw. Try to find out how.
How to use it
- Choose “vs computer” or “2 players”.
- Against the computer, choose a level and whether you play X (you move first) or O.
- Tap an empty square to place your mark. The computer replies after a moment.
- The winning line lights up. Press “Play again” for the next round; the score is kept until you reset it.
Common uses
- A quick game for two on one phone or tablet.
- Teaching young children to plan ahead and spot threats.
- Showing pupils how a computer can search every possible move.
- A short break that still makes you think.
Examples
| Level | How the computer plays |
|---|---|
| Easy | Picks any free square at randomGood for young children learning the rules. |
| Medium | Wins when it can, blocks your winning move, otherwise randomBeatable with a fork: two threats at once. |
| Hard | Perfect play: it never losesWith perfect play from both sides, every game ends in a draw. |
Frequently asked questions
Can the hard level be beaten?
No. It checks every possible continuation (the minimax method) and always chooses a move that cannot lose. If you also play perfectly, the game is a draw; any mistake lets it win.
What is a fork?
A move that creates two lines that each need only one more mark. The opponent can block only one, so you win with the other. Forks are the main way to beat the medium level.
Who moves first?
X always moves first. Against the computer, choose X to start or O to let the computer start.
Is it the same game as noughts and crosses?
Yes. Tic-tac-toe is the American name and noughts and crosses the British one; the rules are identical.