TIC-TAC-TOE / RULES, HISTORY AND STRATEGY

Tic-tac-toe strategy: forks on small and large boards

Learn immediate wins, fork defence and the differences between 3×3, 5×5 and 7×7 tic-tac-toe in Rich Games.

Where the game came from

Tic-tac-toe has long travelled beyond a sheet of paper. The Strong museum preserves Carol Shaw’s Atari notes and source listings for Qubic, later known as 3-D Tic-Tac-Toe, from 1978–1979. They document one way a familiar line-building game became a computer game.

The basic idea expands by changing board size and the winning line length. In Rich Games you need three marks on 3×3, four on 5×5 and five on 7×7. Advice for the nine-square game is a useful starting point, but cannot replace calculation on the larger boards.

Wooden noughts and crosses on metal rods in a bus shelter
Noughts and crosses can turn up at a bus stop: a wooden version in Sweden.Photo: W.carter · CC BY-SA 4.0. Resized and converted to WebP. The photograph retains its original license.
Your turnPRACTICE

Loading the practice board…

A small practice game: interact with the board and test your ideas. Restart whenever you like.

Build an unbroken winning line

Players take turns placing their mark in an empty square. A winning line must be uninterrupted, horizontally, vertically or diagonally. On 3×3, X moves first. Filling every square without a winner produces a draw. Unlike Four in a Row, there is no gravity: you may choose any empty square.

Before every move, look for an immediate win. If none exists, find any square where your opponent could complete a line next turn. These threats matter more than occupying the centre simply because it is central. Two enemy immediate wins on different squares usually mean the fork needed preventing earlier.

One move, two winning continuations

A fork creates two separate ways to finish a line. A single defensive placement blocks only one. To prevent a fork, consider both occupying its key square and making a direct threat of your own. A forced defensive reply can deny your opponent the time to create the fork.

On 3×3 the centre belongs to four lines, a corner to three and an edge-middle square to two. That explains why the centre and corners are attractive, but does not make every edge move poor. Sometimes an edge move forces a defence and prevents a double threat.

Defending opposite corners

On a 3×3 board, X occupies the top-left and bottom-right corners, O occupies the centre, and O must move. If O chooses the top-right corner, X plays bottom-left. X then threatens both middle-left and bottom-middle. O cannot cover both winning squares with a single mark.

Instead, O can play top-middle. Together with the centre this threatens a win down the middle column. X must answer bottom-middle, giving O time to take bottom-left and block the bottom row. This illustrates reasoning through forced replies, rather than promising that O can force a win.

Keep the winning length in mind

Three marks are not a win on 5×5: you need four. On 7×7, even four marks are only a threat towards five. On larger boards inspect both ends of each developing line and its intersections with diagonals. A long blocked line may be less useful than a shorter pattern that can grow in two directions.

Move gradually to larger boards

Start on 3×3 against the bot or a friend, identifying potential forks before every placement. Then try 5×5 and 7×7, reminding yourself of the required length each time. After a loss, find the move that allowed two threats to appear, rather than focusing only on the final block you could no longer make.

Sources and further reading

  1. The Strong: Carol Shaw papers, Qubic notes and source listings ↗