BARREL(6) | Games Manual | BARREL(6) |
xbarrel - Barrel X widget
/usr/games/xbarrel [-geometry [{width}][x{height}][{+-}{xoff}[{+-}{yoff}]]] [-display [{host}]:[{vs}]] [-[no]mono] [-[no]{reverse|rv}] [-{foreground|fg} {color}] [-{background|bg} {color}] [-tile {color}] [-face{0|1|2|3|4|5} {color}] [-{border|bd} {color}] [-[no]install] [-picture {filename}] [-delay msecs] [-[no]sound] [-bumpSound {filename}] [-moveSound {filename}] [-{font|fn} {fontname}] [-[no]orient] [-[no]pairs] [-base {int}] [-userName {string}] [-scoreFile {filename}] [-scores] [-version]
The Barrel, the Billion Barrel, or Wonderful Barrel also seen as the Cylinder Puzzle is of Japanese origin. The puzzle contains 23 beads of 6 different colors. 4 each of 5 different colors arranged in 5 rows and 3 black beads making 3 rows one unit longer. A system of plungers slide all three of the long rows left and right. Two of the plungers sit together and the other (the middle plunger) is separate from the other two. There are 2 separate wheels or disks that rotate about the center axis.
Press "mouse-left" button to move a tile. Release "mouse-left" button in the same row would move the tile towards the space (unless there is no space in that row). Release on a different row will move the tiles up or down.
Click "mouse-center", or press "P" or "p" keys to toggle the practice mode (in practice mode the record should say "practice"). This is good for learning moves and experimenting.
Click "mouse-right", or press "Z" or "z" keys, to randomize the puzzle (this must be done first to set a new record).
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 "C" or "c" keys to clear the puzzle.
"S" or "s" keys to start the auto-solver. Only works where oriented is off.
Press "O" or "o" keys to toggle the orient mode. Slightly more challenging on (default is off).
Press "I" or "i" keys to toggle the pairs mode. All the tiles rotate in pairs. This is considerably more challenging on (default is on).
Press ">" or "." keys to speed up the movement of tiles.
Press "<" or "," keys to slow down the movement of tiles.
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 Barrel as:
8 Up
^
4< >6 Left, Right
v
2 Down
Use the shift key and the up or down arrow keys to rotate all the tiles.
Use the control key and the keypad or arrow keys to reduce or enlarge the complexity of the puzzle.
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.
Here is the format for the xbarrel configuration, starting position, and the movement of its pieces.
startingPosition: <array of tile 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, Plate X.
James G Nourse, The Simple Solutions to Cubic, Puzzles, Bantam Books, New York, November 1981, pp 25-42.
John Ewing & Czes Kosniowski, Puzzle it Out: Cubes Groups and Puzzles, Cambridge University Press, New York, 1982, pp 50-54?
X(1), xcubes(6), xtriangles(6), xhexagons(6), xmlink(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 |