XSKEWB(6)
๐ XSKEWB ๐
okay bestie, gather round, we're talking about xskewb โ Skewb X widgets, from the Games Manual section of the Unix manuals (section 6, the games one, iykyk). it's giving puzzle girlie, it's giving โจrotationalโจ, and honestly? obsessed.
โจ SYNOPSIS โจ
/usr/games/xskewb [-geometry
[{width}][x{height}][{+-}{xoff}[{+-}{yoff}]]] [-display [{host}]:[{vs}]]
[-[no]mono] [-[no]{reverse|rv}] [-{foreground|fg} {color}]
[-{background|bg} {color}] [-{border|bd} {color}] [-face{0|1|2|3|4|5}
{color}] [-frame {color}] [-delay msecs] [-[no]sound] [-moveSound
{filename}] [-{font|fn} {fontname}] [-view {int}] [-[no]orient]
[-[no]practice] [-userName {string}] [-scoreFile {filename}] [-scores]
[-version]
no cap, that's the whole vibe right there ๐ซถ
๐งฉ DESCRIPTION ๐งฉ
so the original puzzle has each face cut by a diamond, meaning there are 5 pieces per face: 4 corner pieces and one diamond piece in the center. it was designed by Uwe Meffert and called the Pyraminx Cube. then Douglas Hofstadter came along and coined it a Skewb, and it stuck. periodt. ๐
the puzzle has period 3 turning, i.e. each half turns with 120 degree intervals. the Skewb has 2^5*3^8*6!/2^6 or 3,149,280 different combinations (with centers oriented it's 2^5*3^8*6!/2 or 100,766,960 different combinations). the math? immaculate. ๐ฅ
more recently, Disney released Mickey's Challenge, which is a spherical skewb with a pretty good internal mechanism. Mickey's challenge has 2^5*3^8*6!/36 5,598,720 visually different combinations). it also comes with a pretty neat book. also released is the Creative Puzzle Ball or Meffert's Challenge, which has 4 rings in different colors. ๐
Mach Balls of the Hungarian Gyula Mach are similar, but they do not have a ratchet mechanism and do not turn as easily or smoothly. one must match the 12 different symbols of 4 each at the 12 intersection points. bestie that's a whole other boss fight.
๐ธ FEATURES ๐ธ
- press "mouse-left" button to move a piece. release "mouse-left" button on a piece on the same face. (clicks on diamonds are ignored ๐). the pieces will then turn towards where the mouse button was released.
- 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. study era ๐โจ
- click "mouse-right", or press "Z" or "z" keys, to randomize the puzzle (this must be done first to set a new record). โ ๏ธ yes really, do it first.
- 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 "C" or "c" keys to clear the puzzle.
- press "S" or "s" keys to start auto-solver.
- press "O" or "o" keys to toggle the orient mode. one has to orient the faces in orient mode, besides getting all the faces to be the same color. to do this one has to get the lines to be oriented in the same direction, this only matters with the center diamond piece. this does add complexity so there are 2 sets of records. ๐
- press "V" or "v" keys to change the view of the puzzle.
- press ">" or "." keys to speed up the movement of pieces (not implemented).
- press "<" or "," keys to slow down the movement of pieces (not implemented).
- press "@" key to toggle the sound.
- press "Esc" key to hide program.
- press "Q", "q", or "CTRL-C" keys to kill program. ๐
๐ the key pad situation ๐
use the key pad or arrow keys to move without the mouse.
key pad is defined for the Skewb2d as:
/ Counterclockwise
7 8 9 Upper Left, Up, Upper Right
^
4<5>6 Left, Clockwise, Right
v
1 2 3 Lower Left, Down, Lower Right
if the mouse is on a diamond, the above keys will not move cube because the move is ambiguous. also if the mouse is on a triangle, not all the keys will function because the puzzle will only rotate on the cuts, i.e. a triangle with a Upper Left - Lower Right cut will rotate only Upper Left & Lower Right, a triangle with a Upper Right - Lower Left cut will rotate only Upper Right & Lower Left. therefore, a triangle can only move tangential to the center of the face. no doubt this is confusing, but the physical skewb is the same way. in fact, that is part of its appeal. ๐
key pad for other than Skewb2d, use must use your intuition (is this a cop out or what?). the key pad is defined differently depending on which side of the cube your mouse is pointing at. one thing that stays the same is "5" is Clockwise and "/" is Counterclockwise. ๐ฆ
๐ฑ๏ธ moving the whole cube ๐ฑ๏ธ
use the control key and the left mouse button, keypad, or arrow keys to move the whole cube. it's also possible to rotate whole cube with an axis through a face with alt key is pressed (Tab key when using Windows). this is not recorded as a turn. โจ
๐ท๏ธ the title format ๐ท๏ธ
the title is in the following format (non-motif non-opengl version):
xskewb{2|3}d<dimension>: (<Number of moves>/{<Record number of moves> <user name>|"NEVER noaccess"|"practice"}) - <Comment>
if there is no record of the current puzzle, it displays "NEVER noaccess". the way that phrase lives in my head rent free ๐ญ
๐ OPTIONS ๐
-geometry {+|-}X{+|-}Yโ this option sets the initial position of the skewb window (resource name "geometry").-display host:dpyโ this option specifies the X server to contact.-[no]monoโ this option allows you to display the skewb window on a color screen as if it were monochrome (resource name "mono").-[no]{reverse|rv}โ this option allows you to see the skewb window in reverse video (resource name "reverseVideo").-{foreground|fg} colorโ this option specifies the foreground of the skewb window (resource name "foreground").-{background|bg} colorโ this option specifies the background of the skewb window (resource name "background").-{border|bd} colorโ this option specifies the border color of the pieces in the skewb window (resource name "borderColor").-face{0|1|2|3|4|5} <color>โ this option allows you to change the color of a face (resource name "faceColorN"). in mono-mode, color is represented as the first letter of the color name. on the 2-D version, the faces are ordered top to bottom and left to right on the "t" configuration. the "+-" configuration is physically consistent with the former, so it is ordered "0, 1, 2, 3, 5, 4". if you has two colors that begin with the same letter you should have one in uppercase and one in lowercase to distinguish them in mono-mode. you can change the colors of the faces to make a stupid cube (i.e. all White or in mono-mode all "W"). unfortunately, it will not normally say its solved when its randomized. this would be cheating. ๐-frame colorโ this option specifies the color of the frame (resource name "frameColor").-delay msecsโ this option specifies the number of milliseconds it takes to move pieces (1-50) (resource name "delay").-[no]soundโ this option specifies if sliding pieces should make a sound or not (resource name "sound").-moveSound filenameโ this option specifies the file for the move sound for the twisting of the puzzle (resource name "moveSound").-{font|fn} ontnameโ this option specifies the font that will be used (resource name "font").-view <int>โ this option allows you to change the view of the cube for OpenGL with choice of 4 views (resource name "int").-[no]orientโ this option allows you to access the oriented mode (resource name "orient").-[no]practiceโ this option allows you to access the practice mode (resource name "practice").-userName stringโ this option specifies the user name for any records made or else it will get your login name (resource name "userName").-scoreFile filenameโ specify an alternative score file (resource name "scoreFile").-scoresโ this option lists all the recorded scores and then exits.-versionโ this option tells you what version of xskewb you have.
๐ RECORDS ๐
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. bestie do NOT skip the shuffle, the game is watching ๐
๐พ SAVE FORMAT ๐พ
here is the format for the xskewb configuration, starting position, and the movement of its pieces.
Skewb2d with default colors, not randomized:
0 R Red
1 2 3 B W G Blue, White, Green
4 P Pink
5 Y Yellow
orient: 0-1 <0 false, 1 true; if 1 then lines on pieces to be oriented>practice: 0-1 <0 false, 1 true>moves: 0-MAXINT <total number of moves>startingPosition: <2 dimensional array of face and corner position and center diamond position, each face has 4 corner pieces and one center piece, if orient mode then orientation number follows face number: 0 up, 1 right, 2 down, and 3 left>
this is then followed by the moves, starting from 1.
move #: <direction> <control> <face> <corner>
each turn is with respect to a corner on a face. the corners start at the upper right and work clockwise.
- Direction is represented as 0 upper right, 1 lower right, 2 lower left, 3 upper left, 5 clockwise, 7 counterclockwise, 8 up, 9 right, 10 down, and 11 left.
- Control is represented as 0 or 1, 1 if the whole cube is moved at once (here the corner does not matter), 0 if not. the xskewb record keeper does not count a control move as a move, but here we do. ๐
๐ REFERENCES ๐
- Beyond Rubik's Cube: spheres, pyramids, dodecahedrons and God knows what else by Douglas R. Hofstadter, Scientific American, July 1982, pp 16-31.
- Mickey's Challenge by Christoph Bandelow.
- Magic Cubes 1996 Catalog of Dr. Christoph Bandelow.
๐ SEE ALSO ๐
X(1), xcubes(6), xtriangles(6), xhexagons(6), xmlink(6), xbarrel(6), xpanex(6), xmball(6), xpyraminx(6), xoct(6), xrubik(6), xdino(6), xbevel(6), xabacus(6)
ยฉ๏ธ COPYRIGHTS ยฉ๏ธ
ยฎ Copyright 1994-2024, David A. Bagley
๐ BUG REPORTS AND PROGRAM UPDATES ๐
send bugs (or their reports, or fixes) to the author:
David A. Bagley, <bagleyd AT verizon.net>
the latest version is currently at:
https://www.sillycycle.com/puzzles.html
http://www.ibiblio.org/pub/Linux/games/strategy/
ok that's the whole page bestie, every flag, every number, every MAXINT. go forth and skewb responsibly ๐ซถ
and for the sign-off: this whole thing is V8.8.4, dated 15 Aug 2024, and it's the XSKEWB(6) page, mwah ๐๐โจ
๐ฆ where this page comes from
- debian trixie: xmpuzzles 8.8.7+ds-2 ยท MIT
- debian trixie: xpuzzles 8.8.7+ds-2 ยท MIT
- ubuntu questing: xmpuzzles 8.8.7+ds-2
- ubuntu questing: xpuzzles 8.8.7+ds-2
- ubuntu resolute: xmpuzzles 8.9.0+ds-1 ยท MIT
- ubuntu resolute: xpuzzles 8.9.0+ds-1 ยท MIT
- ubuntu stonking: xmpuzzles 8.9.4+ds-1 ยท MIT
- ubuntu stonking: xpuzzles 8.9.4+ds-1 ยท MIT
- Copyright 1994 - 2024 David A. Bagley
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms