Play Tic-Tac-Toe free online — challenge the computer or a friend on the classic 3×3 grid. Get three in a row to win!
❌⭕ Tic-Tac-Toe
Your turn — you are X
🔐
Save your progress!
You're playing as a guest. Register a free account so your streak and scores are never lost.
Register Free 🚀About Tic-Tac-Toe
Tic-tac-toe is the first strategy game most people ever learn, and the first one they outgrow. Three in a row on a 3×3 grid, you are X, the computer or a friend is O. What makes it worth a few minutes as an adult is what happens once you realise it can be solved.
The game is solved, and that is the interesting part
Tic-tac-toe has been completely analysed: if both players play correctly, every single game ends in a draw. There is no clever opening that wins against someone who knows what they are doing.
That sounds like it ruins the game, and for two experts it does. But it makes tic-tac-toe an unusually clear lesson in what strategy actually is — you cannot win by playing well, you can only win when your opponent errs, so the real skill is spotting the error and punishing it.
Forks: how you actually win
A fork is a move that creates two winning threats at once. Your opponent can only block one, so the other wins on your next turn. Every tic-tac-toe victory between competent players comes from a fork.
The classic setup is taking a corner, then a second corner on the same side once your opponent has answered in the centre. Two corners plus an open edge between them often gives two lines at once. Learning to see forks two moves out is genuinely transferable — it is the same pattern as a double threat in checkers or connect four.
How the computer opponent plays
The CPU follows a simple priority list: take a winning move if one exists, block your winning move if one exists, otherwise take the centre, otherwise a random corner, otherwise anything.
That makes it solid but not perfect. It will never miss an immediate win or an immediate block, so careless play loses. It also does not look further ahead than one move, which means a well-built fork beats it — a good target if you want to prove you have understood the idea.
Why it is still worth teaching children
For a five-year-old, tic-tac-toe is the first game where thinking ahead visibly beats not thinking ahead. It introduces the idea that your opponent has intentions, that a move can do two jobs at once, and that some positions are lost before the last piece is played.
Pass-and-play mode is on the same screen, so it works as a two-player game on one phone. When it stops being a challenge, Connect Four at cerdikcerdik.com/games/connect-four is the natural next step — same idea of lines and threats, on a board large enough that nobody has memorised it.
Frequently asked questions
Can you always win at tic-tac-toe?
No. Against correct play the best result is a draw. You win only when your opponent makes a mistake, usually by missing a fork.
Is it better to go first?
Going first is a real advantage because it gives you more chances to create a fork, but it is not enough to force a win against an opponent who defends properly.
What is the best first move?
The centre is the strongest single square — it sits on four of the eight winning lines. A corner is the best alternative and creates more fork opportunities than an edge does.
Can I play against a friend?
Yes. Switch to vs Friend mode and pass the device back and forth; the game tracks the score across rounds for both players.