The object of the game is to get three (in two dimensions) or four (in three dimensions) cells in a row before the computer does. You select which cell you want by clicking on it with the mouse.
For the usual 2D version, the game board consists of the familiar three-by-three square. For the 3D version of the game, the game board consists of four levels stacked on top of each other, where each level is a four-by-four square. A winning row can run vertically, horizontally, or diagonally on a single level, or can span all four of the levels, as shown below.
The standard 3D game board will be displayed as:
Level 1 2 3 4 ...Y .... .... X... Row 1 ..O. ..OY .XO. ..O. 2 .... ..X. ...Y .... 3 ...X .... .... ...Y 4 Column 1234 1234 1234 1234
where each move can be specified by a three-digit number consisting of the level, row, and column (i.e., LRC); thus, the four Xs, Os, and Ys each constitute winning rows as follows: X - 144, 233, 322, and 411; O - 123, 223, 323, and 423; and Y - 114, 224, 334, and 444.
For this game, your moves will be displayed in white with the letter “H”, while the computer’s moves will be displayed in red with the letter “C”.
For the enhanced 3D game board, the levels are drawn on top of each other, where level 1 is at the bottom, row 1 is toward you, and column 1 is on the left. Your moves will be displayed using white ellipses, while the computer’s moves are indicated with red diamonds.
Good luck! (You’ll need it…)
ttt3d, version 2.0: Copyright 1995-2009 by Alan Raskin. All rights reserved.
The game board will be displayed using a three-dimensional representation and each move is specified by a three-digit number consisting of the level, row, and column (i.e., LRC), where L = 1 for the bottom level and 4 for the top one, R = 1 for the row toward the front of the board and 4 for the back row, and C = 1 for the column toward the left and 4 for the one toward the right.