1. Take turns
Players alternate placing X and O in any empty cell. In computer mode, board input locks while the computer chooses its reply.
Choose a type, then step through lines to illuminate their cells.
Medium: takes wins, blocks immediate threats, then uses line potential.
Players alternate placing X and O in any empty cell. In computer mode, board input locks while the computer chooses its reply.
Each board uses columns A–C and rows 1–3. “Top B2” is the centre of the top board; the same coordinate on all three boards forms a vertical pillar.
Win with three marks in one layer, through matching cells across layers, along a vertical-plane diagonal, or on a corner-to-corner space diagonal.
The amber dot marks the latest move. Hover or focus a cell to outline its matching row-and-column coordinate on every layer. The winning line remains labelled and highlighted.
24 + 9 + 12 + 4 = 49. The three layers contribute 8 lines each (3 rows, 3 columns, 2 diagonals), for 24. Add 9 vertical pillars, 12 diagonals across the six vertical planes, and 4 corner-to-corner space diagonals.
The exact centre, Middle B2, lies on 13 lines: 3 straight axes, 6 face diagonals across the three planes through the centre, and 4 space diagonals. That is why it is both powerful and heavily contested.
Load a position into the boards, find the move, or reveal the answer. Starting a new game exits puzzle mode.
X has Top A1 and Top B1. Finish the same-layer row.
Top C1. It completes the top layer’s first row.
O owns Top A1 and Middle B2. X must stop the opposite corner.
Bottom C3. It blocks the Top A1–Middle B2–Bottom C3 space diagonal.
X owns Top A1 and Top C3. Find the cell that creates two opposite-corner threats.
Middle B2. It threatens Bottom C3 and Bottom A1 on two space diagonals.
Players alternate placing X and O in empty cells across the top, middle, and bottom 3×3 layers. The first player to complete any straight three-cell line wins, including lines that cross layers.
There are 49 winning lines: 24 within layers, 9 vertical pillars, 12 diagonals across vertical planes, and 4 corner-to-corner space diagonals.
Yes. The 3×3×3 three-in-a-row game is a first-player win with perfect play, not a forced draw. A completely filled 27-cell board also cannot avoid a winning line.
No. This page uses a 3×3×3 board and three in a row. The Parker Brothers game Qubic is normally played on a 4×4×4 board with four in a row.
Yes. Choose Local two-player mode for pass-and-play on one phone, tablet, or computer, then choose symbols and who starts.
Easy makes mostly random legal moves, Medium looks for immediate wins and blocks before using a positional heuristic, and Hard adds depth-limited alpha-beta search with a position cache.
Yes. It runs directly in a modern mobile browser with no download. Moves are processed locally in the browser, and the page does not persist scores or settings.