Tic Tac Toe

The three-in-a-row classic, small enough to learn in ten seconds.

Play Now
Single play vs RabbitJack, or 2 players · Free, no sign-up, play-money only · Ages 16+

How to Play & Official Rules

Tic Tac Toe is played on a three-by-three grid. One player uses X and the other uses O. Players take turns placing their mark in any empty square, and the first player to get three of their marks in a straight line wins.

Lines that count

A winning line can run across a row, down a column or along either of the two diagonals. There are eight possible lines on the board.

Draws

If all nine squares are filled and nobody has made a line, the game is a draw, which is the most common result between careful players. In fact, if both sides play correctly the game always ends in a draw.

House rules can differ slightly from the classic tabletop version. The HOW TO PLAY button inside the game always shows the exact rules in force for your match.

Strategy & Beating RabbitJack

Because correct play always draws, strategy in Tic Tac Toe is about two things: never making a mistake yourself, and setting traps that exploit mistakes by your opponent.

Beating RabbitJack

RabbitJack is a pure-code NPC that plays by fixed rules, so expect it to block immediate threats and take winning squares when it sees them. The way to win is to create a fork it did not prepare for. Open in a corner, and if RabbitJack does not take the center, aim for the opposite corner to build two lines at once. If it plays perfectly, accept the draw and try a different opening in the next game.

Origins & History of Tic Tac Toe

Few games are as widely known or as hard to date as Tic Tac Toe. In British English it is noughts and crosses; in American English the name tic-tac-toe is often said to come from the sound of marks being tapped onto a slate. Versions of it have appeared in many cultures wherever people have had something to scratch a grid into.

The Romans played a close relative called terni lapilli, in which each player has three pieces and moves them around a small grid trying to line them up. Grids that look like game boards have been found carved into stone in the ancient world, although historians disagree about which of them were really used for this game, so the claim that it dates back to ancient Egypt should be taken carefully. What is clear is that three-in-a-row games are among the oldest and most widespread pencil-and-paper pastimes.

The name noughts and crosses was in print in Britain by the nineteenth century, and the game was a standard way for children to pass time at school, in church and on long journeys. Its small size makes it easy to solve by hand: every position can be explored in a few minutes, which is exactly why children eventually learn that it always ends in a draw and move on to harder games.

That very simplicity gave it a role in the history of computing. In 1952 a graduate student at the University of Cambridge, A. S. Douglas, wrote a program called OXO that ran on the EDSAC computer and let a person play noughts and crosses against the machine on a small display. It is often cited as one of the earliest video games, and it showed that a computer could be programmed to play a complete game of strategy.

Today the game is mostly used as a teaching tool, but a good game of it between two alert players is still a tense little duel.

Related Games

Play Tic Tac Toe in the Lobby