Ancient Beginnings
Humans have been lining up three-in-a-row for a very long time. The game did not start as a printed puzzle. It started as marks scratched into stone.
Egypt's Roofing-Slab Grids
Grid boards resembling the tic tac toe family have been found carved into roofing slabs in ancient Egypt. They date back to around 1300 BC. Nobody knows the exact rules the Egyptians used. But the urge to claim squares on a small grid is clearly ancient, not a modern invention.
Rome's Terni Lapilli
The best-documented ancestor comes from Rome. Terni lapilli means roughly "three pebbles at a time." It was hugely popular across the empire in the first century BC. The game had one big twist: instead of nine marks, each player had just three pebbles. You moved your pebbles around the grid after placing them, much like the game we now call Three Men's Morris.
Terni lapilli boards still survive today, scratched into:
- Roman pavements and street stones
- Temple steps
- Walls across the empire, from Egypt to Britain
That spread tells you something about how portable the game has always been. All you ever needed was a scratched grid and three stones.
Noughts and Crosses
First Appearance in Print (1858)
The pencil-and-paper game we play today has nine squares, and marks that stay where you put them. It took its recognizable modern shape in Britain, and the rules haven't changed since (see our rules page if you want them spelled out). Its first known appearance in print dates to 1858, in the journal Notes and Queries. There, it was called "noughts and crosses." A nought is simply a zero, which is why it gave the O its name.
Where "Tic-Tac-Toe" Came From
The name tic-tac-toe emerged in the United States around the same era. By the most widely repeated account, it evolved from "tit-tat-toe," a set of sound-words children chanted while tapping out their moves. Over time the chant stuck to the game itself, and the name never let go.
Why It Spread Through Schoolrooms
The game spread through schoolrooms everywhere for one simple reason: it is free. All it takes is paper and a pencil. It also teaches two real skills:
- Turn-taking, since players must wait and watch
- Forward planning, since a full game fits inside a minute
It remains one of the first strategy games most humans ever learn. That is exactly the role our kids page and Easy mode are built for today.
Tic Tac Toe and the Dawn of Computing
Babbage's 19th-Century Idea
The link between tic tac toe and computers is older than computers themselves. In the 1840s, English mathematician Charles Babbage - Designer of the Analytical Engine - Discussed building a machine that could play noughts and crosses, though he never constructed one.
Bertie the Brain (1950)
The first computer you could actually play tic tac toe against was Bertie the Brain, built by engineer Josef Kates for the 1950 Canadian National Exhibition. Four metres tall, it displayed the board with lit bulbs and beat almost everyone who challenged it - Two years before OXO.
A.S. Douglas and OXO (1952)
In 1952, British computer scientist A.S. "Sandy" Douglas wrote OXO for the EDSAC computer at Cambridge as part of his PhD. It showed noughts and crosses on a cathode-ray tube and let you play against the machine - Often cited as one of the earliest video games to use a graphical display.
Why This History Still Matters
These machines share a milestone: a computer was already unbeatable at tic tac toe decades before Deep Blue beat Kasparov at chess in 1997. The game's small, fully solvable structure made it the perfect first opponent for a thinking machine.
That legacy continues today. Our Hard mode uses the minimax algorithm to play the same perfect game those pioneers did. The only difference is you don't need a room-sized 1950s computer to face it, just a browser tab.
What the Game Is Called Around the World
Tic tac toe traveled the globe long before the internet did, and nearly every culture gave it its own name. Some names describe the marks. Others describe the shape of the grid.
Names From Around the World
| Name | Where |
|---|---|
| Tic-tac-toe | United States, Canada |
| Noughts and crosses | United Kingdom, Australia, New Zealand |
| Xs and Os / X and O | Ireland, parts of Canada |
| Tres en raya / Tres en línea | Spain, Latin America |
| Morpion | France |
| Jogo da velha ("the old lady's game") | Brazil, Portugal |
| Drei gewinnt ("three wins") / Tic-Tac-Toe | Germany |
| Крестики-нолики ("crosses and noughts") | Russia |
| ○×ゲーム (maru-batsu, "circle-cross game") | Japan |
A Common Thread
Look closely and a pattern shows up. Most names simply describe what a player sees on the board: two marks (crosses and noughts, Xs and Os) or a count of three (tres en raya, "three in a row"). The game barely needs translating, because the board explains itself in any language.
From Stone Grids to Solved Game
The Game Is Mathematically Solved
In the twentieth century, mathematicians finished what the Romans started. Tic tac toe was fully analyzed and solved. With perfect play from both sides, every game ends in a draw. Want the full mathematical story, including how many games are possible, why the first player has an edge, and how the unbeatable algorithm actually works? Read The Math of Tic Tac Toe. Curious how that theory holds up against a live opponent? Test it yourself on our strategy guide.
Still Being Played, Still Being Taught
Three thousand years on, the game is still doing what it has always done: teaching a new generation to think one move ahead. Add a game to its history.