XCUBES(6) | Games Manual | XCUBES(6) |
xcubes - Cubes X widget
/usr/games/xcubes [-geometry [{width}][x{height}][{+-}{xoff}[{+-}{yoff}]]] [-display [{host}]:[{vs}]] [-[no]mono] [-[no]{reverse|rv}] [-{foreground|fg} {color}] [-{background|bg} {color}] [-block {color}] [-text {color}] [-[no]install] [-picture {filename}] [-delay msecs] [-[no]sound] [-bumpSound {filename}] [-dripSound {filename}] [-{font|fn} {fontname}] [-size{x|y|z} {int}] [-base {int}] [-userName {string}] [-scoreFile {filename}] [-scores] [-version]
A 3D sliding block puzzle. The cubes represented are flattened out on the plane. If the Blocks Z slider is greater than 1, then each group of boxes is a layer of the puzzle. If the Blocks Z slider = 1, then this is a simple 15 tile puzzle. The 15 puzzle was originally made around 1880 by Noyes Chapman (the 14-15 puzzle of Sam Loyd was made soon after). Similar 3D puzzles include BloxBox; Qrazy Qube (2x2x2) by P. Hein of Denmark and Varikon Box 'L (3x3x3) (Hungary) and Mad Marbles (3x3x3) by Toys & Games International USA.
Click "mouse-left" button to move a block. Clicks on a space, or clicks on blocks that are not in line with a space, will not move the blocks. Notice, one can move more than one block at a time by clicking on the block farthest from the space but still in line with the space. Since you only have a 2-D screen, the next level down is either the box to the right of the current box or the bottom of the current box.
Click "mouse-right" button, or press "C" or "c" keys, to clear the puzzle.
Press "R" or "r" keys to read a saved puzzle.
Press "W" or "w" keys to save (write) a puzzle.
Press "U" or "u" keys to undo a move.
Press "E" or "e" keys to redo a move.
Press "Z" or "z" keys to randomize the puzzle. New records can only be set from a cleared state.
Press "S" or "s" keys to start the auto-solver. Only works on lxmx1 where l > 3 and m > 3.
Press "I" or "i" keys to move a block in.
Press "O" or "o" keys to move a block out.
Press ">" or "." keys to speed up the movement of blocks.
Press "<" or "," keys to slow down the movement of blocks.
Press "@" key to toggle the sound.
Press "Esc" key to hide program.
Press "Q", "q", or "CTRL-C" keys to kill program.
Use the key pad or arrow keys to move without the mouse.
Key pad is defined for Cubes as:
/ Out
8 Up
^
4<5>6 Left, In, Right
v
2 Down
The control key allows you to change the complexity of xcubes. Hold down control key and use the keypad or arrow keys to reduce or enlarge puzzle complexity.
The title is in the following format (non-motif version):
You must randomize the puzzle before a record is set, otherwise an assumption of cheating is made if it is solved after a get or an auto-solve.
Here is the format for the xcubes configuration, starting position, and the movement of its pieces.
startingPosition: <array of block positions where 0 is the empty space>
This is then followed by the moves, starting from 1.
L. E. Horden, Sliding Piece Puzzles (Recreations in Mathematics Series), Oxford University Press 1986, pp 1, 157-159.
Jerry Slocum & Jack Botermans, Puzzles Old & New (How to Make and Solve Them), University of Washington Press, Seattle, 1987, pp 126, 127.
X(1), xtriangles(6), xhexagons(6), xmlink(6), xbarrel(6), xpanex(6), xmball(6), xpyraminx(6), xoct(6), xrubik(6), xskewb(6), xdino(6), xabacus(6)
® Copyright 1994-2010, David A. Bagley
Send bugs (or their reports, or fixes) to the author:
The latest version is currently at:
22 Oct 2010 | V7.6.4 |