A short history of the 4×4×4 game
Four in a row on four levels has been a boxed game, a mainframe pastime, an Atari title and a solved mathematical problem.
Why four, not three
The obvious way to make tic-tac-toe three-dimensional is a 3×3×3 cube. It does not work as a game. It cannot end in a draw, and the first player wins easily by taking the centre. Rules that forbid the centre only hand the easy win to one side or the other.
At 4×4×4 the game becomes hard. There are 64 squares and 76 winning lines, no single square dominates, and the outcome between two people is in real doubt. That size became the standard.
Qubic and the boxed sets
The name Qubic was used for a set by Duplicon in 1947. Parker Brothers made and marketed the 4×4×4 game under that name from 1964. The first Parker Brothers set had an opaque bottom board with three clear boards above it. A 1972 reissue used four clear plastic boards with rounded corners. The counters looked like small poker chips in red, blue and yellow, and the rules allowed up to three players. The set is no longer made.
In the 1970s 3M sold the game in its Paper Games line as a pad of 50 preprinted sheets, which is about as cheap as a board game can get.
Score Four: the version with gravity
In 1968 Funtastic released Score Four, which keeps the 4×4×4 shape and the 76 lines but changes one rule. Beads cannot be played on the upper levels until the positions below them are filled. Lakeside issued four versions during the 1970s, and Hasbro later sold it in the UK as Connect Four Advanced. Games magazine listed it among its top 100 games in 1980 and again in 1982.
An early favourite of programmers
The game suited early computers well: simple rules, a small board and plenty of room for clever play.
- 1961. William Daly Jr. wrote a Qubic program in assembler for the TX-0 at MIT as his master's thesis. It looked ahead up to 12 moves and kept a record of past games.
- 1967. Robert Louden published a Fortran version for the IBM 1130.
- 1968. A BASIC version appeared on a General Electric timesharing system, author unknown. David Ahl later printed it in 101 BASIC Computer Games.
- 1980. Atari released 3-D Tic-Tac-Toe for the Atari 2600 and its 8-bit computers. It was programmed by Carol Shaw, who went on to create River Raid, and offered eight difficulty settings.
- 1990s. Microsoft included a version called TicTactics in the Windows Entertainment Pack.
Solved, three times
In 1976 Eugene Mahalko showed in a thesis at Brigham Young University that the first player must have a winning strategy, without producing the strategy itself.
In 1980 Oren Patashnik published the strategy. His computer-assisted proof used 1,500 hours of computer time and recorded the right move in 2,929 difficult positions. Every other position could be won with forcing moves alone. The result appeared in Mathematics Magazine under the title “Qubic: 4×4×4 Tic-Tac-Toe”.
In 1992 Victor Allis and P. Schoo solved the game again using a search technique called proof-number search.
None of this spoils the game for people. A strategy that needs thousands of memorised positions is out of reach at the table, and between human players the result stays open.
The game in numbers
| Count | What it is |
|---|---|
| 64 | squares on the board |
| 76 | winning lines: 48 parallel to an edge of the cube, 24 parallel to a diagonal of a face, 4 through the centre of the cube |
| 16 | squares that lie on 7 lines each (8 corners and 8 in the centre) |
| 48 | squares that lie on 4 lines each |
| 192 | ways to rotate, reflect or rearrange the board that leave the game unchanged |
Sources: Wikipedia, 3D tic-tac-toe and Score Four, and the works they cite, including O. Patashnik, “Qubic: 4×4×4 Tic-Tac-Toe”, Mathematics Magazine 53(4), 1980.