|This option sets the initial position of the cubes window (resource Pname "geometry").|
|This option specifies the X server to contact.|
|This option specifies the foreground of the cubes window (resource name "foreground").|
|This option specifies the background of the cubes window (resource name "background").|
|This option specifies the border color of the bricks in the cubes window (resource name "borderColor").|
|This option specifies the brick color of the bricks in the cubes window (resource name "brickColor").|
|This option allows you to change the number of cubes in a row, column, or stack (resource name "sizeA").|
|-base int||This option specifies the base used (default is base 10) (resource name "base").|
|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.
sizeX: 1-8 <number of bricks in a row>
sizeY: 1-8 <number of bricks in a column>
sizeZ: 1-8 <number of bricks in a stack>
moves: 0-MAXINT <total number of moves>
startingPosition: <array of tile positions where 0 is the empty space>
This is then followed by the moves, starting from 1.move #: <direction>Direction is represented as 0 up, 1 right, 2 down, 3 left, 4 in, and 5 out.
Caution: the program may crash on corrupted input.
Sliding Piece Puzzles (Recreations in Mathematics Series) by L. E. Horden, Oxford University Press 1986, pp 1, 157-159.
Puzzles Old & New (How to Make and Solve Them) by Jerry Slocum & Jack Botermans, University of Washington Press, Seattle, 1987, pp 126, 127.
® 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||CUBES (6)||20 June 1999|