Free Tic-Tac-Toe
Play noughts and crosses vs the computer.
What is the Tic-Tac-Toe?
Tic-Tac-Toe — noughts and crosses — is the first strategy game most of us ever learn, and it hides a neat truth: played perfectly, it always ends in a draw.
Play it free here against a computer that never makes a mistake, or against a friend on the same screen.
Last updated: Aug 14, 2026
What does this tool do?
You place your marks on a 3×3 grid, taking turns, trying to line up three in a row.
Against the computer you'll face a perfect opponent (the best you can do is draw); in 2-player mode you and a friend alternate turns.
Key features
Unbeatable AI
A computer that plays perfectly.
2-player mode
Play a friend on one device.
Score tracking
Wins, losses and draws.
Instant
No setup, just tap and play.
Private
Runs in your browser.
Example
Common use cases
- Kids — Learn strategy the fun way.
- Friends — Quick head-to-head rounds.
- Teachers — Demonstrate game theory.
- Commuters — A fast brain game.
- Parents — Play with a child.
- Strategy fans — Try to force the draw.
- Bored anyone — A 30-second match.
- Casual players — Simple and satisfying.
Benefits
- It's instant and needs no setup.
- The AI gives a genuine perfect-play challenge.
- 2-player mode is great for two people.
- It tracks your running score.
Tips
- Taking the center first is the strongest opening.
- If the computer takes the center, grab a corner.
- Always block an opponent's two-in-a-row.
- Create a 'fork' — two threats at once — to win against imperfect play.
- Against the perfect AI, aim to draw, not win.
- Watch the diagonals; they're easy to miss.
- Corners are more valuable than edges.
- Think one move ahead of your own threat.
Common mistakes to avoid
Ignoring a block
Fix: If the opponent has two in a row, block it before doing anything else.
Playing an edge first
Fix: Open in the center or a corner — edges are the weakest first move.
Expecting to beat the AI
Fix: It plays perfectly; a draw is the best possible result.
Missing diagonal threats
Fix: Check all three directions — rows, columns and diagonals.
How it works
- 1
Pick a mode
Versus computer or 2 players.
- 2
Take turns
Tap a square to place your mark.
- 3
Get three in a row
Across, down or diagonally.
Frequently asked questions
No — the computer plays a perfect game, so the best possible result against it is a draw. Switch to 2-player mode to beat a friend.
Be the first to get three of your marks in a row, horizontally, vertically or diagonally.
No — the computer plays a perfect game, so the best possible result against it is a draw. Switch to 2-player mode to beat a friend.
Be the first to get three of your marks in a row — horizontally, vertically or diagonally.
The center is strongest; a corner is a solid alternative. Edges are the weakest opening.
Tic-Tac-Toe is a solved game — with perfect play from both sides, it always draws.
Yes. Switch to 2-player mode and take turns on the same device.
Yes, free with no sign-up.
Conclusion
Tic-Tac-Toe is a tiny, perfect strategy game — try to hold the draw against the computer, then challenge a friend. For more, play 2048 or Memory Match.