XHEXAGONS(6) | Games Manual | XHEXAGONS(6) |
xhexagons - Hexagons X widget
/usr/games/xhexagons [-geometry [{width}][x{height}][{+-}{xoff}[{+-}{yoff}]]] [-display [{host}]:[{vs}]] [-[no]mono] [-[no]{reverse|rv}] [-{foreground|fg} {color}] [-{background|bg} {color}] [-tile {color}] [-text {color}] [-frame {color}] [-[no]stippleFrame] [-delay msecs] [-[no]sound] [-bumpSound {filename}] [-{font|fn} {fontname}] [-size{X|Y} {int}] [-[no]corners] [-base {int}] [-userName {string}] [-scoreFile {filename}] [-scores] [-version]
A sliding tile puzzle. A hexagonal version of the 15 puzzle. The 17 puzzle was conceived of by Alwin Vietor and marketed in 1885 in Germany as "Trilemma" with round pieces. Sam Cornwell rediscovered this in 1989 with "Clockblocks" of which 12 were numbered using hexagonal pieces. Also he produced a smaller 12 block puzzle with 9 that were numbered called "Ninefield". Also Bernhard Wiezorke came up with the similar 17 puzzle, "Hexafax, the New Fifteen Puzzle", in 1991 and a smaller 11 piece "Counterfax" of which 8 were numbered.
If corners mode on: Press "mouse-left" button to
move a tile, then release "mouse-left" button on a space.
It will not move if blocked. One can only move one tile at a time. The only
tiles that can be moved are the tiles next to both spaces.
If corners mode off: Click "mouse-left" button to move a
tile. Notice that one can move more than one tile at a time by clicking on
the tile farthest from the space but in line with the space. Clicks on the
space, or clicks on tiles that are not in line with the space, will not move
tiles.
Click "mouse-right" button, or press "C" or "c" keys, to clear the puzzle.
Press "G" or "g" keys to read (get) a saved puzzle.
Press "W" or "w" keys to save (write) a puzzle.
Press "U" or "u" keys to undo a move.
Press "R" or "r" keys to redo a move.
Press "Z" or "z" keys to randomize the puzzle. New records can only be set from a cleared state.
"S" or "s" keys reserved for the auto-solver (not implemented).
Press "M" or "m" keys to toggle corners mode. (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 Hexagons as:
7 9 Upper Left, Upper Right
^
4< >6 Left, Right
v
1 3 Lower Left, Lower Right
The control key allows you to change the complexity of xhexagons. 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 or clear 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 xhexagons configuration, starting position, and the movement of its pieces.
startingPosition: <array of tile positions where 0 is the empty space for the HIGH hexagon and -1 is the empty space for the LOW hexagon (if present)>
This is then followed by the moves, starting from 1.
Dieter Gebhardt, "From Trilemma to Counterfax", CFF 53, October 2000, pp 8-10.
Sam Cornwell, "Ninefield: a Sliding Block Puzzle", CFF 57, March 2002, pp 4-5.
Dieter Gebhardt, "Ninefield Revisited", CFF 58, July 2002, p 21.
Bernhard Wiezorke, "Hexafax, the New Fifteen Puzzle" brochure
X(1), xcubes(6), xtriangles(6), xmlink(6), xbarrel(6), xpanex(6), xmball(6), xpyraminx(6), xoct(6), xrubik(6), xskewb(6), xdino(6), xbevel(6), xabacus(6)
® Copyright 1994-2024, David A. Bagley
Send bugs (or their reports, or fixes) to the author:
The latest version is currently at:
15 Aug 2024 | V8.8.4 |