Fourstack: 3D tic-tac-toe, four in a row
The 4×4×4 game many people call 3D Connect 4. Four glass levels, any empty square, first to four in a line.
Drag to turn the tower. Pinch or use Zoom to get closer.
Daily puzzle
One position a day and one move that wins it. Keep a streak and share your result.
Play with a friend
On one screen, by text message, or live online with an invite link.
Classic tic-tac-toe
The original 3×3 game, against the computer or a friend.
How to win tic-tac-toe
The fork, the best first move, and how the same idea wins in 3D.
Drop mode, with gravity
Counters stack from the bottom up, the way most people picture 3D Connect 4.
Rules you can print
The whole game on one page, with diagrams of every kind of winning line and a pencil-and-paper sheet.
How to win more often
Which 16 squares are worth nearly twice the rest, and how to force a win with a chain of threes.
Where the game comes from
From a 1947 set called Qubic to a 1,500-hour computer proof in 1980.
The game's other names
3D tic-tac-toe, Qubic, Score Four, 3D noughts and crosses: which are the same game and which are not.
Quick answers
What is Fourstack?
A free browser version of the classic 4×4×4 game: two players take turns placing counters on four stacked levels, and the first to line up four in any direction wins.
Is it the same as 3D tic-tac-toe?
Yes. The 4×4×4 game is usually called 3D tic-tac-toe, and it was sold for years under the trade name Qubic. See the other names.
Is this 3D Connect 4?
It is the game most people mean by that: four in a row on a 4×4×4 board. Fourstack is not made by or connected with the makers of Connect Four, and unlike that game, counters here do not drop.
Do counters fall to the lowest level?
Not in the classic game: you can place a counter in any empty square on any level. If you want counters to stack from the bottom, switch Counters to Drop, or read about drop mode.
How many ways are there to win?
76 lines: 40 on a single level, 16 straight down through the levels, 16 slanted across the levels and 4 running corner to corner through the middle.
Can the first player always win?
With perfect play, yes. That was proved by computer in 1980. In practice the position is far too complicated to play perfectly, and the loser starts the next game to even things out.