What Is Tic Tac Toe and How Does It Work
July 9, 2026 · TicTacToe.now
- Tic tac toe is a two-player game on a 3x3 grid where you race to get three marks in a row.
- One player is X, the other is O. X always moves first.
- You win with three in a row across, down, or diagonally - Nine squares total, so games end fast.
- Between two players who don't mess up, the game always ends in a draw.
The Basic Idea
Tic tac toe is a game for two people, sometimes called noughts and crosses. You get a grid of nine squares, three across and three down. One player uses X, the other uses O, and you take turns filling in squares. The first person to line up three of their own marks in a row wins. That's really it. No dice, no cards, no setup - Just a grid and two players taking turns.
It's one of the first games most kids learn, and it stays with people for life because there's nothing to memorize. You can teach the whole game in about ten seconds and be playing your first round right after.
What You Need to Play
You don't need anything fancy. A 3x3 grid, two players, and something to mark the squares with is enough. Pencil and paper works fine. If you'd rather skip the drawing, you can jump into a 2 player game on this site right now and pick it up as you go.
The Goal in One Sentence
Get three of your own marks in a straight row, column, or diagonal before your opponent does. That's the whole goal, and it never changes no matter who you're playing against.
A Game With Ancient Roots
Tic tac toe feels like a modern classroom game, but it isn't new. Grid games have been found scratched into stone in ancient Egypt and Rome, where a version called Terni Lapilli used three stones per player instead of X and O. The exact rules have shifted over thousands of years, but the core idea, lining up three marks before your opponent does, hasn't changed much at all. You can read the full backstory on our history of tic tac toe page.
The Board and the Marks
The board is a 3x3 grid, which gives you nine squares total. Picture it like a tiny window with nine panes, or a piece of paper with two lines drawn across it and two lines drawn down it. Every square starts empty.
The Grid, Square by Square
Three rows sit stacked on top of each other, and three columns run from top to bottom. Where a row and a column cross, you get a square. Nine crossings, nine squares, and every one of them is fair game until it's filled.
Picking X or O
Each player picks a mark before the game starts. One player is always X, the other is always O. There's no swapping mid-game - Once you're X, you're X until the round ends. It sounds obvious, but it matters, because X gets a real advantage just from going first.
Not Just 3x3
The classic board is 3x3, but it's not the only version out there. Bigger boards, like a 4x4 grid, change the math and slow the game down since it takes more moves to build a winning line. Other spinoffs nest nine small boards inside one big one, an idea known as Ultimate Tic-Tac-Toe. Once you've got the original down, those variants make a fun next challenge.
How a Turn Works
X always moves first. That's a fixed rule, not a coin flip.
The Order of Play
- X places a mark in any empty square.
- O places a mark in a different empty square.
- Play keeps alternating, X then O then X, until someone wins or every square is full.
Rules That Never Bend
You can never move into a square that's already taken, and you can never skip your turn. There are only nine squares on the board, so a game can never go longer than nine moves - Most finish sooner than that. If you'd rather see the exact wording of every rule laid out one by one, the full rules page covers every edge case, including the ones that almost never come up.
How You Actually Win
You win the moment you get three of your own marks in a straight line, often called three in a row. There are three ways to do it:
The Three Winning Patterns
- Any full row, left to right
- Any full column, top to bottom
- Either of the two diagonals
That gives eight possible winning lines total on a standard board.
How a Win Gets Confirmed
- A player places the mark that completes one of the eight lines.
- The game stops immediately, even if empty squares are still sitting there unused.
- That player wins. No more moves happen after that, even if the board isn't full.
When Nobody Wins
If neither player manages three in a row before the board fills up completely, the game is a draw. No winner, no loser, just a full grid.
Why It Usually Ends in a Tie
Here's the part that surprises new players: if both people know what they're doing, tic tac toe always ends in a draw. Every single time. The board is small enough that a careful player can always find a move that blocks a loss, so a game between two players who never slip up just runs out of squares.
A Solved Game
Mathematicians call tic tac toe a solved game. That means every possible outcome has already been mapped out, so we know exactly how it ends when both sides play their best. It's also a zero-sum game: one player's win is always the other player's loss, though in practice a tic tac toe match between careful players usually ends as a shared draw instead. Computers solve it with something called the minimax algorithm, which looks ahead at every branch of possible moves and always picks the safest one. Out of 5,478 legal board positions and 255,168 possible full games, perfect play still lands on a draw 100% of the time. Want the full breakdown? Our tic tac toe math page walks through the numbers.
What Actually Causes a Win
That's actually why the game is fun for beginners and boring for experts at the same time. Mistakes are what create wins. Miss a block, ignore the center, or let your opponent set up two threats at once, and the game stops being a guaranteed tie. If you want to see how a computer opponent plays it out perfectly, our hard mode never slips - You'll need a real mistake-free game just to force a draw against it.
Where People Play It
You've probably seen tic tac toe drawn in pencil on the corner of a school notebook, scratched into a desk, or played with napkins at a restaurant table. That's part of what makes it different from most games - It doesn't need a board you buy in a store. Any grid and two kinds of marks will do.
No Equipment Required
Places people have played a round without even planning to:
- The corner of a school notebook, during a boring class
- Scratched into a wooden desk with a pencil tip
- Drawn on a napkin while waiting for food at a restaurant
Tic Tac Toe by the Numbers
The game feels simple, but there's real math behind it:
| Stat | Number |
|---|---|
| Squares on the board | 9 |
| Winning lines | 8 |
| Legal board positions | 5,478 |
| Possible full games | 255,168 |
| Draw rate with perfect play | 100% |
Playing on a Screen
These days you don't even need paper. You can play a full game online against a computer, or challenge a friend on the same screen without leaving your browser.
A Simple Game With a Catch
So that's tic tac toe: nine squares, two players, three in a row wins. It sounds almost too plain to bother explaining, and for the first few games it plays exactly like that.
Why the Simplicity Is Deceiving
Then you lose to someone once, and suddenly the "simple" game doesn't feel so simple anymore - There's a real skill hiding under those nine little boxes. Part of that skill is spotting a fork, a move that threatens to win two different ways at once so your opponent can only block one of them. Once you learn to see a fork coming, you'll never look at the game the same way again.
Try It Yourself
The rules take ten seconds to learn, but playing well takes real thought about where your opponent is heading two moves ahead. If this is your first time hearing the name, the best next step is just to play a round. Try easy mode first to get comfortable with how a turn feels, then work your way up from there.