3D Tic Tac Toe Rules

Print the rules for four boards, or choose the lines, the small cube or three players in the menu.

  1. 1: Draw four grids of four by four, one beside the other, and number them 1 to 4.Think of them as four floors, with board 1 on top. A set with clear trays is the same game.
  2. 2: Two players. One is X and the other is O.With a set: one color each.
  3. 3: Take turns to put one mark in any empty square, on any board.There are 64 squares. X starts; next game, the other player does.
  4. 4: Four of your own marks in a straight line win.Three in a line win nothing here.
  5. 5: A line can lie on one board: across, down or corner to corner.As in the plain game, but four long.
  6. 6: A line can go straight down: the same square on all four boards.Top left on 1, 2, 3 and 4.
  7. 7: A line can step: one square farther along a row or a column on each next board.The first square of a row on 1, the second on 2, the third on 3, the fourth on 4.
  8. 8: A line can go from a corner of board 1 to the far corner of board 4.Through the middle squares of boards 2 and 3.
  9. 9: The first line wins, and the game stops.Draw a stroke through it, or join the four squares with an arrow.
  10. 10: All 64 squares full and no line? It is a draw.It can happen on four boards. On three boards of three it cannot.

The rules

Four boards: the rules

  • 1: Draw four grids of four by four, one beside the other, and number them 1 to 4. Think of them as four floors, with board 1 on top. A set with clear trays is the same game.
  • 2: Two players. One is X and the other is O. With a set: one color each.
  • 3: Take turns to put one mark in any empty square, on any board. There are 64 squares. X starts; next game, the other player does.
  • 4: Four of your own marks in a straight line win. Three in a line win nothing here.
  • 5: A line can lie on one board: across, down or corner to corner. As in the plain game, but four long.
  • 6: A line can go straight down: the same square on all four boards. Top left on 1, 2, 3 and 4.

Checked against: Wikipedia.

Show all 66

Four boards: the rules, continued

  • 7: A line can step: one square farther along a row or a column on each next board. The first square of a row on 1, the second on 2, the third on 3, the fourth on 4.
  • 8: A line can go from a corner of board 1 to the far corner of board 4. Through the middle squares of boards 2 and 3.
  • 9: The first line wins, and the game stops. Draw a stroke through it, or join the four squares with an arrow.
  • 10: All 64 squares full and no line? It is a draw. It can happen on four boards. On three boards of three it cannot.

The 76 lines, kind by kind

  • 1: Number the squares of each board by rows: 1 2 3 4 on top, then 5 to 8, 9 to 12, 13 to 16. The numbers below use this.
  • 2: Across one board: 16 lines, four on each. Such as 5 6 7 8 on board 3.
  • 3: Down one board: 16 lines, four on each. Such as 2 6 10 14 on board 1.
  • 4: Corner to corner on one board: 8 lines, two on each. 1 6 11 16, and 4 7 10 13.
  • 5: Straight down through all four boards: 16 lines, one for each square. Such as 7, 7, 7, 7.
  • 6: Stepping along a row: 8 lines, two for each row. 5 on board 1, 6 on 2, 7 on 3, 8 on 4. Or 8, 7, 6, 5.
  • 7: Stepping down a column: 8 lines, two for each column. 2 on board 1, 6 on 2, 10 on 3, 14 on 4. Or 14, 10, 6, 2.
  • 8: Corner to far corner through the whole cube: 4 lines. 1, 6, 11, 16 on boards 1 to 4. Or 16, 11, 6, 1. Or 4, 7, 10, 13. Or 13, 10, 7, 4.
  • 9: So 40 lines lie on one board, and 36 go through all four. 40 + 36 = 76.
  • 10: As mathematicians count them: 48 parallel to the cube’s edges, 24 slanting in one flat sheet, 4 through the middle. 48 + 24 + 4 = 76.

Is it a line? A test

  • 1: Number the squares by rows, 1 to 16, and write the four in order of their boards. Like this: 3, 7, 11, 15 on boards 1, 2, 3, 4.
  • 2: All four on one board? Then the plain rules decide. Across, down or corner to corner.
  • 3: Two on one board and two elsewhere? It is no line. A line has all four on one board, or one on each.
  • 4: One on each board: the four numbers have to go up or down by the same step. Or stay the same.
  • 5: Step 0, the same number four times: a line. It goes straight down.
  • 6: Step 1: a line if all four are in one row. 9, 10, 11, 12 is one. 6, 7, 8, 9 is not.
  • 7: Step 4: always a line. 3, 7, 11, 15 is one.
  • 8: Step 5: only 1, 6, 11, 16. Step 3: only 4, 7, 10, 13. Forward or back. Any other step is no line.

Squares worth having

  • 1: Sixteen of the 64 squares are on seven lines each. The other 48 are on four. So start with one of the sixteen.
  • 2: Eight of them are the corners of boards 1 and 4. By number: 1, 4, 13 and 16.
  • 3: The other eight are the middle squares of boards 2 and 3. By number: 6, 7, 10 and 11.
  • 4: They have three in a line and the fourth square is empty? Take it at once. First look whether you can win yourself.
  • 5: Two lines of three open at the same time win. They can block only one. Try to find a square that makes both.
  • 6: A line with both marks in it is dead. Stop counting it.
  • 7: Before each move look at that square on all the other boards. No single board shows a line through all four. Check straight down first (ours).

A fair start and arguments

  • 1: Who starts? Toss a coin, then change after every game (ours). Going first helps.
  • 2: With perfect play the first player wins on four boards. A computer proof of 1980 shows how. It needs a list of 2,929 positions, so do not worry about it at a table.
  • 3: For a fairer start X may not begin on one of the sixteen best squares (ours). They are on the sheet Squares worth having.
  • 4: New players say three when they have three in a line and the fourth is open (ours). Drop it once nobody is caught out.
  • 5: Nobody saw the line? It counts if it is found before the next mark (ours). Found later, it counts for nothing.
  • 6: Not sure that it is a line? Use the sheet Is it a line?
  • 7: Two lines with one mark are one win.
  • 8: The boards got mixed up? The numbers you wrote on them decide (ours). So write them before the first move.

Three boards of three

  • 1: Draw three grids of three by three and number them 1 to 3. 27 squares. Number them 1 to 9 on each board.
  • 2: X and O take turns to put one mark in any empty square.
  • 3: Three of your own marks in a straight line win. On one board, or one on each board.
  • 4: 49 lines: 24 on the boards, eight on each. As in plain tic tac toe.
  • 5: Nine go straight down, and twelve step along a row or a column. Such as 4 on board 1, 5 on 2, 6 on 3.
  • 6: Four go from corner to far corner, all through square 5 of board 2. 1, 5, 9. Or 9, 5, 1. Or 3, 5, 7. Or 7, 5, 3.
  • 7: No draw: fill all 27 squares any way you like, and somebody has a line. Every way of filling them was tried by computer.
  • 8: The player who starts in the center can always win. See the next sheet before you play for anything.

The center of the small cube

  • 1: The center is square 5 of board 2. It is on 13 of the 49 lines. A corner of the cube is on seven, and any other square on four or five.
  • 2: Start there, then play next to the other player’s first mark, on the same board. Not slanting: beside it, above it or below it.
  • 3: They must block. Then one more mark can open two lines at once. You win with your fourth mark. Every reply was played out by computer.
  • 4: A ban on the center for the first move alone does not help. The other player takes it and wins. From any other start, the center is the one square that wins for them.
  • 5: Or black out the center for the whole game. Nobody may use it. 36 lines are left. There is still no draw: when all 26 squares are full, somebody has a line.
  • 6: The first player can still force a win then: from a corner the fourth mark is enough. So change who starts after every game.
  • 7: Or black out the center, fill the other 26 squares and count: most lines wins (ours). The game does not stop at the first line.
  • 8: Or play two games, each starting one, and count your marks. The quicker win takes the match (ours).

Three players

  • 1: Three players need three marks: X, O and a triangle. Take turns in a fixed order. Sets have been sold for two or three.
  • 2: On four boards the rules stay the same: four of your own marks in a straight line win.
  • 3: Look at the next player’s lines before you move. They go before you do again. Block the player whose turn comes first.
  • 4: You may leave a block to the player after you, if they go before the threat does (ours). If both of you trust the other to do it, the third one wins.
  • 5: No helping by words. Only marks count (ours).
  • 6: On three boards of three, three players who make no mistake end in a draw. So the small cube is fair for three.
  • 7: Change who starts after every game, around the table (ours).

How this list was compiled: Written for this site on November 30, 2026, in our own words. The game has no governing body. The rules of the 4 by 4 by 4 game, pencil and paper play, the 76 winning lines and the three kinds they are counted in, the sixteen squares on seven lines, sets for up to three players, the proof of 1980 that the first player wins with its 2,929 positions, and for the 3 by 3 by 3 game that it cannot be drawn, that the center wins, what the two kinds of ban on the center do and the draw between three perfect players were read that day in English Wikipedia, licensed CC BY-SA 4.0: en.wikipedia.org. A program of ours listed every line on both boards and counted them by kind and by square, tried the step test on every set of four squares, found a full set of four boards with no line, tried every filling of the small cube with and without its center, and played out every reply after the center and after each other first move. Rows marked ours are this site's suggestions for a point the rules leave open.

How it works

3D tic tac toe is played on four boards of sixteen squares, thought of as one above another. Four of your marks in a straight line win: on one board, straight down, or slanting through all four.

Read the full guide

A line through all four boards

Number each board 1 to 16 by rows. X holds 4 on board 1, 7 on board 2 and 10 on board 3. The fourth is 13 on board 4: corner to far corner through the whole cube. If that square is empty, O has to take it now. Is it a line? A test settles the others.

Four boards or three

Four by four by four is the usual game. Three by three by three is quicker to draw, but whoever starts in the center can force a win. The center of the small cube shows how, and what to do about it.

  • Leave a thumb’s width between the boards, and write the number above each one.

Questions and answers

How do you play 3D tic tac toe on paper?

Draw four grids of four by four and number them. Two players take turns to mark one empty square on any board. Four in a straight line win, on one board or with one mark on each board.

How many ways are there to win in 3D tic tac toe?

76 on four boards of four by four: 40 on a single board and 36 that go through all four. Three boards of three by three have 49.

Can 3D tic tac toe end in a draw?

On four boards, yes: all 64 squares can be filled without a line. On three boards of three it cannot: once the squares are full somebody has a line, even when the center is left out.

Does the first player always win 3D tic tac toe?

With perfect play, yes, and computers have proved it. On four boards nobody remembers enough to do it. On three boards of three it takes four marks, starting in the center.

Can three people play 3D tic tac toe?

Yes, with a third mark. On four boards it is four in a line for everybody. On three boards of three, three players who make no mistake will draw.