โ† Back to Game

History of Tic Tac Toe โ€” From Ancient Egypt to Modern AI

Tic Tac Toe is one of the oldest and most universally recognized games in human history. Known as Noughts and Crosses in Britain, Xs and Os in Ireland, and by dozens of other names across the world, this simple 3ร—3 grid game has been played by pharaohs, Roman soldiers, medieval monks, Victorian schoolchildren, and now โ€” millions of players online every day. But who invented Tic Tac Toe? How old is it really? And how did a game carved into stone become a playground for artificial intelligence?

This is the complete history of Tic Tac Toe โ€” a journey spanning over 3,500 years of human civilization.

๐Ÿ›๏ธ Ancient Origins (1300 BCE โ€“ 1 CE)

~1300 BCE โ€” Ancient Egypt

The earliest known ancestor of Tic Tac Toe was discovered in ancient Egyptian temple roof tiles dating to approximately 1300 BCE. Archaeologists found 3ร—3 grids carved into roofing tiles at temples in the ancient city of Kurna (Qurna) near Luxor. While we can't confirm these were used for exactly the same game we play today, the grid patterns and markings strongly suggest a similar two-player placement game.

~1st Century BCE โ€” Roman Empire

The Romans played a game called "Terni Lapilli" (Three Pebbles), which is the closest ancient ancestor of modern Tic Tac Toe. Roman soldiers carved 3ร—3 grids into stone floors, walls, and pavements throughout the Empire. Grid carvings have been found in ruins across Rome, Pompeii, Britain, and North Africa. However, Terni Lapilli had one key difference: each player only had 3 pieces, and after placing all three, they had to slide pieces to new positions rather than placing new marks. This made it closer to a moving-piece game like Nine Men's Morris.

๐Ÿ” Fun Fact: Terni Lapilli grids have been found scratched into the stone steps of the Colosseum in Rome โ€” gladiator spectators may have played the game while waiting for matches to begin!

โš”๏ธ Medieval & Renaissance Period (500 โ€“ 1800 CE)

~10thโ€“14th Century โ€” Medieval Europe

During the Middle Ages, grid-based alignment games remained popular across Europe. In medieval England, a version of the game appeared on manuscript margins, church benches, and carved into castle walls. Monks and scholars played simple three-in-a-row games as intellectual exercises. The game was known by various names across medieval Europe, reflecting its widespread popularity as a pastime for both nobility and commoners.

14th Century โ€” France: "Jeu de la Marelle"

In France, the game evolved into "Jeu de la Marelle" (The Hopscotch Game), though this term covered several grid-based games. French manuscripts from the 14th century show illustrations of two-player grid alignment games. The French version helped standardize the fixed-mark placement rules (placing marks permanently rather than sliding pieces), which brought it closer to the Tic Tac Toe we know today.

๐Ÿ‡ฌ๐Ÿ‡ง The Birth of Modern Names (1800s โ€“ 1900s)

1858 โ€” "Noughts and Crosses" (Britain)

The name "Noughts and Crosses" first appeared in British literature in 1858, referring to the "noughts" (zeros / O marks) and "crosses" (X marks) used by the two players. This name remains the standard term in the United Kingdom, Australia, New Zealand, South Africa, and most Commonwealth nations to this day.

1884 โ€” First "Tic-Tac-Toe" Reference

The name "Tic-Tac-Toe" first appeared in print around 1884 in the United States. Interestingly, it originally referred to a different game โ€” a children's game of tapping or ticking numbers on a slate. By the early 20th century, the name had migrated to describe the X-and-O grid game we know today. The onomatopoeic name (tic-tac-toe, like the sound of pencil taps) stuck in American and Canadian English.

Early 1900s โ€” Playground Standard

By the early 20th century, Tic Tac Toe had become the universal schoolyard game. Its simplicity โ€” requiring only a pencil and paper (or a stick and dirt) โ€” made it the go-to pastime for children everywhere. It was often the first strategy game children learned, teaching concepts of planning, turn-taking, and spatial reasoning. The rules became fully standardized: a 3ร—3 grid, X always goes first, marks are permanent, and three-in-a-row wins.

๐Ÿ–ฅ๏ธ The Computer Age โ€” AI & Game Theory (1952 โ€“ Present)

1952 โ€” OXO: The First Computer Game

In 1952, British computer scientist Alexander S. Douglas created "OXO" (also called "Noughts and Crosses") as part of his doctoral thesis at the University of Cambridge. OXO was a Tic Tac Toe game that ran on the EDSAC computer โ€” one of the earliest electronic computers in the world. It is widely considered one of the first video games ever created.

OXO allowed a human player to compete against the computer using a rotary telephone controller as input. The computer displayed the game board on a cathode ray tube (CRT) screen. Douglas's program could play a perfect game of Tic Tac Toe, making it one of the earliest examples of artificial intelligence in gaming.

๐ŸŽฎ Gaming Milestone: OXO (1952) is considered one of the first video games in history โ€” and it was a Tic Tac Toe game! This means Tic Tac Toe holds a special place as the game that helped launch the entire video game industry.
1975 โ€” "Solved" by Computer Science

By the mid-1970s, computer scientists had formally "solved" Tic Tac Toe using exhaustive game tree analysis. They proved that with optimal play from both sides, every game of Tic Tac Toe must end in a draw. The game has exactly 255,168 possible unique game sequences and 362,880 possible final board states. This mathematical proof made Tic Tac Toe one of the first "solved games" in history.

1980sโ€“2000s โ€” Minimax & AI Teaching Tool

Tic Tac Toe became the standard introductory project for teaching artificial intelligence concepts. The Minimax algorithm, which evaluates every possible future game state to find the optimal move, is traditionally demonstrated using Tic Tac Toe before being applied to more complex games like Chess and Go. Virtually every computer science student in the world has programmed a Tic Tac Toe AI at some point.

2020s โ€” Online Multiplayer & WebRTC Era

Today, Tic Tac Toe lives on as one of the most played casual games on the internet. Modern versions like EasyTicTacToe.com feature real-time online multiplayer via WebRTC peer-to-peer connections, multiple AI difficulty levels from beginner to mathematically unbeatable, instant WhatsApp sharing for social challenges, and stunning visual designs that transform the simple grid into an immersive gaming experience.

๐ŸŒ Tic Tac Toe Names Around the World

One of the most fascinating aspects of Tic Tac Toe is how many unique names it has across different cultures:

๐ŸŽฏ 10 Fun Facts About Tic Tac Toe

  1. Tic Tac Toe is over 3,500 years old โ€” older than chess, checkers, and almost every board game still played today.
  2. There are exactly 255,168 possible unique games and 8 possible winning lines.
  3. The game is mathematically "solved" โ€” with perfect play, it always ends in a draw.
  4. The first video game ever made (OXO, 1952) was a Tic Tac Toe game.
  5. The center cell is the most powerful position, participating in 4 out of 8 winning lines.
  6. Roman gladiator spectators played a version called Terni Lapilli at the Colosseum.
  7. In Brazil, Tic Tac Toe is called "Jogo da Velha" โ€” which translates to "Old Lady's Game."
  8. The Fork trap (threatening two wins at once) is the only way to guarantee a win against an imperfect opponent.
  9. A Minimax AI can evaluate all 255,168 possible games in under 2 milliseconds.
  10. Tic Tac Toe is the #1 most commonly programmed game in computer science education worldwide.

๐ŸŽฎ Experience the Modern Evolution

From ancient Egyptian tiles to Roman colosseum steps to your smartphone screen โ€” Tic Tac Toe has traveled an incredible journey. Now you can experience the latest evolution of this timeless game at EasyTicTacToe.com:

๐ŸŽฎ Play the World's Oldest Game โ€” Reimagined!

๐Ÿ“š Related Guides