|This option sets the initial position of the octahedron window (resource name "geometry").|
|This option specifies the X server to contact.|
|-[no]mono||This option allows you to display on a color screen as if monochrome (resource name "mono").|
|This option allows you to see the octahedron window in reverse video (resource name "reverse").|
|This option specifies the foreground of the octahedron window (resource name "foreground").|
|This option specifies the background of the octahedron window (resource name "background").|
|This option specifies the border color of the octas in the octhahedoron window (resource name "borderColor").|
|This option allows you to change the color of a face (resource name "faceColorN"). In mono-mode, color is represented as the first letter of the color name. The faces are ordered top to bottom and left to right. If you has two colors that begin with the same letter you should have one in uppercase and one in lowercase to distinguish them in mono-mode. You can change the colors of the faces to make a stupid octahedron (i.e. all White or in mono-mode all "W"). Unfortunately, it will not normally say its solved when its randomized. This would be cheating.|
|This option allows you to change the number of octas on a edge (resource name "size").|
|-sticky||This option allows you to set the sticky mode (resource name "sticky").|
|This option allows you to set the turning mode (resource name "mode").|
|-both||This option allows you to set the turning mode to both period 3 and period 4 (resource name "mode" set at 5).|
|This option allows you to access the orient mode (resource name "orient").|
|This option allows you to access the practice mode (resource name "practice"). -username string This option specifies the user name for any records made or else it will get your login name (resource name "userName").|
The format is not standard. The reason for this is that this is simple and I do not know what the standard is.
Octahedron with default colors, not randomized:
0 R Red
3 1 M B Magenta, Blue
2 W White
4 O Orange
7 5 Y P Yellow, Pink
6 G Green
size: 1-6 <number of triangles in the same orientation as the face per row>
mode: 3-5 <period 3 turning, period 4 turning, or both (5)>
orient: 0-1 <0 false, 1 true; if 1 then lines on "octas" to be oriented>
sticky: 0-1 <0 false, 1 true; if 1 then some "octas" move together>
practice: 0-1 <0 false, 1 true>
moves: 0-MAXINT <total number of moves>
startingPosition: <2 dimensional array of face "octa" position, each face has size * size "octas", if orient mode then orientation number follows face number numbered clockwise from 0 to 11, where 0 is up>
This is then followed by the moves, starting from 1.move #: <face> <position> <direction> <control>Each turn is with respect to a face and position.
Position is 0 to size * size - 1. Position 0 is the triangle furthest from the center, increasing clockwise.
Direction is represented as 0 up, 1 upper right, 2 right, 3 lower right, 4 down, 5 lower left, 6 left, 7 upper left, 9 clockwise, and 15 counterclockwise.
Control is represented as 0 or 1, 1 if the whole octahedron is moved at once (here position does not matter), 0 if not. The xoct record keeper does not count a control move as a move, but here we do.
Caution: the program may crash on corrupted input.
Beyond Rubiks Cube: spheres, pyramids, dodecahedrons and God knows what else by Douglas R. Hofstadter, Scientific American, July 1982, pp 16-31.
Magic Cubes 1996 Catalog of Dr. Christoph Bandelow.
® Copyright 1994-99, David Albert Bagley
Send bugs (or their reports, or fixes) to the authorDavid Albert Bagley, <email@example.com>
The latest version is currently at:
|V5.5||XOCT (6)||20 June 1999|