|
NAMExmball - Masterball X widgetSYNOPSIS/usr/games/xmball [-geometry [{width}][x{height}][{+-}{xoff}[{+-}{yoff}]]] [-display [{host}]:[{vs}]] [-[no]mono] [-[no]{reverse|rv}] [-{foreground|fg} {color}] [-{background|bg} {color}] [-{border|bd} {color}] [-wedge{0|1|2|3|4|5|6|7} {color}] [-wedges {int}] [-rings {int}] [-[no]orient] [-[no]practice] [-base {int}] [-username {string}]DESCRIPTIONThe original puzzle has 8 sectors on a sphere (longitudinal cuts), with each sector divided into 4 segments (latitudinal cuts). There are essentially 3 varieties: Geomaster 8 colors (beachball, default colors in this puzzle), Duomaster 2 colors (black and white beachball), and a variety of picture Masterballs. For some reason, they say the Geomaster is harder than the Duomaster. The picture Masterballs are the hardest since all the pieces have a set solved postion. On the Duo and Geo Masterballs pieces could be swapped or in a different order and still be in a solved postion. Zurick University's Mathematics faculty has calculated that Masterball's 32 segments can be arranged in 355,682,548,566,633,480,192,000,000 different possible combinations. Masterball was invented by Dr. Geza Gyovai Hungarian Engineer, manufactured by Whole Systems Design, Inc..FEATURESPress "mouse-left" button to move a sector. Release "mouse-left" button on another piece and the pieces will turn towards where the mouse button is released. Usually, a click and release on the same wedge is ambiguous and the puzzle will not turn.Click "mouse-center", or press "P" or "p" keys to toggle the practice mode (in practice mode the record should say "practice"). One must double click on "mouse-center" if the puzzle is being worked on. This is good for learning moves and experimenting. Click "mouse-right", or press "R" or "r" keys to randomize (this must be done first to set a new record). One must double click on "mouse-right" if the puzzle is being worked on. Press "I" or "i" keys to increase the number of rings. Press "D" or "d" keys to decrease the number of rings. Press "O" or "o" keys to toggle the orient mode. One has to orient the wedges in orient mode, besides getting all the wedges to be the same color. To do this one has to get the numbers to be on the same side of the ball in clockwise order. Press "2", "4", "6", or "8" keys (not the keypad 2, 4, 6, 8) to change to 2, 4, 6, or 8 wedges, respectively. Note: if there were odd number of wedges, there would be no 180 degree turn and therefore the puzzle would be inoperable. "S" or "s" are reserved for the auto-solver (unimplemented). Press "U" or "u" keys to undo move. Press "G" or "g" keys to get a saved puzzle. Press "W" or "w" keys to write or save a puzzle. Press "Q", "q", or "CTRL-C" keys to kill program. Use the key pad, "R" keys, or arrow keys to move without
mouse clicks.
7 8 9 Upper Left, Up, Upper Right
^
Use the control key and the left mouse button, keypad, or arrow keys to move the whole Masterball. This is not recorded as a turn. The title is in the following format (non-motif version): xmball.{2|4|6|8<wedges>}: <number of sectors per
wedge> @ (<Number of moves>/{<Record number of moves>
<username>|"NEVER noaccess"|"practice"}) -
<Comment>
If there is no record of the current puzzle, it displays "NEVER
noaccess".
OPTIONS
SAVE FORMATThe format is not standard. The reason for this is that this is simple and I do not know what the standard is.Masterball numbered clockwise, with default colors, not randomized: 0 Y Yellow 7 1 D B Dark Green, Blue 6 2 C R Cyan, Red 5 3 O M Orange, Magenta 4 G Green wedges: 1-8 <number of wedges around ball>
rings: 1-MAXINT <number of slices around ball> orient: 0-1 <0 false, 1 true; if true then numbers on puzzle to be oriented and ordered> practice: 0-1 <0 false, 1 true> moves: 0-MAXINT <total number of moves> startingPosition: <2 dimensional array of sector wedge position, if orient mode then orientation number follows each wedge number> This is then followed by the moves, starting from 1. move #: <wedge> <ring> <direction>
<control>
Each turn is with respect to a sector defined by wedge and ring.
Direction is represented as 0 up, 1 right, 2 down, 3 left, 4 upper right, 5 lower right, 6 lower left, 7 upper left, 9 clockwise, and 15 counterclockwise. Control is represented as 0 or 1, 1 if the whole ball is moved at once, 0 if not. The xmball record keeper does not count a control move as a move, but here we do. Caution: the program may crash on corrupted input. REFERENCEShttp://wsd.com/masterballSEE ALSOX(1), xrubik(6), xskewb(6), xdino(6), xpyraminx(6), xoct(6), xmlink(6), xpanex(6), xcubes(6), xtriangles(6), xhexagons(6), xabacus(1)COPYRIGHTS® Copyright 1994-99, David Albert BagleyBUG REPORTS AND PROGRAM UPDATESSend bugs (or their reports, or fixes) to the authorDavid Albert Bagley, <bagleyd@tux.org>
The latest version is currently at: ftp://ftp.tux.org/pub/tux/bagleyd/xpuzzles
ftp://ftp.x.org/contrib/games
Visit the GSP FreeBSD Man Page Interface. |