~ubuntu-branches/ubuntu/karmic/xpuzzles/karmic

« back to all changes in this revision

Viewing changes to xskewb/vms/xskewb.hlp

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-22 16:29:42 UTC
  • mfrom: (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050822162942-tdtf178zkpd3xxdg
Tags: 7.1.3-1ubuntu1
Update {build-,}depends for xorg -> mesa transition.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
6 XSKEWB
 
2
 
 
3
 
 
4
2 Games and Demos                                         XSKEWB(6)
 
5
 
 
6
xskewb - Skewb X widgets
 
7
 
 
8
/usr/games/xskewb    [-geometry     [{width}][x{height}][{+-
 
9
}{xoff}[{+-}{yoff}]]] [-display [{host}]:[{vs}]] [-[no]mono]
 
10
[-[no]{reverse|rv}]    [-{foreground|fg}     {color}]     [-
 
11
{background|bg}    {color}]    [-{border|bd}   {color}]   [-
 
12
face{0|1|2|3|4|5} {color}] [-[no]orient] [-[no]practice]  [-
 
13
{font|fn} {fontname}] [-username {string}]
 
14
 
 
15
2 The original puzzle has each face cut by a diamond, so  that
 
16
there are 5 pieces, 4 corner pieces and one diamond piece in
 
17
the center.  This was designed by Uwe Meffert and called the
 
18
2 Pyraminx  Cube.   Douglas Hofstadter later coined it a Skewb
 
19
and it stuck.  The puzzle has period 3  turning  (i.e.  each
 
20
half  turns  with  120  degree  intervals).   The  Skewb has
 
21
2^5*3^8*6!/2^6 or  3,149,280  different  combinations  (with
 
22
centers  oriented 2^5*3^8*6!/2 or 100,766,960 different com-
 
23
binations).
 
24
 
 
25
2 More recently, Disney released  Mickey's  Challenge,  its  a
 
26
spherical  skewb  with  a  pretty  good  internal mechanism.
 
27
2 Mickey's challenge has 2^5*3^8*6!/36 5,598,720 visually dif-
 
28
ferent  combinations).   It  also  comes  with a pretty neat
 
29
book.   Also  released  is  the  Creative  Puzzle  Ball   or
 
30
2 Meffert's Challenge which has 4 rings in different colors.
 
31
 
 
32
2 Mach Balls of the Hungarian Gyula Mach are similar but  they
 
33
do not have a ratchet mechanism and do not turn as easily or
 
34
smoothly.  One must match the 12 different symbols of 4 each
 
35
at the 12 intersection points.
 
36
 
 
37
2 FEATURES
 
38
2 Press "mouse-left" button to move a piece.  Release  "mouse-
 
39
left"  button  on a piece on the same face.  (Clicks on dia-
 
40
monds are ignored).  The pieces will then turn towards where
 
41
the mouse button was released.
 
42
 
 
43
2 Click "mouse-center", or press "P" or "p" keys to toggle the
 
44
practice mode (in practice mode the record should say "prac-
 
45
tice").  This is good for learning moves and experimenting.
 
46
 
 
47
2 Click "mouse-right", or press "R" or "r" keys  to  randomize
 
48
the puzzle (this must be done first to set a new record).
 
49
 
 
50
2 Press "O" or "o" keys to toggle the orient mode.  One has to
 
51
orient  the  faces  in  orient mode, besides getting all the
 
52
faces to be the same color.  To do this one has to  get  the
 
53
lines  to  be  oriented  in  the  same  direction, this only
 
54
matters with center diamond piece.  This does add complexity
 
55
 
 
56
2 Games and Demos                                         XSKEWB(6)
 
57
 
 
58
so there are 2 sets of records.
 
59
 
 
60
"S" or "s" keys reserved for  the  auto-solver  (not  imple-
 
61
mented).
 
62
 
 
63
2 Press "U" or "u" keys to undo move.
 
64
 
 
65
2 Press "G" or "g" keys to get a saved puzzle.
 
66
 
 
67
2 Press "W" or "w" keys to write or save a puzzle.
 
68
 
 
69
2 Press "C" or "c" keys to clear a puzzle.
 
70
 
 
71
2 Press "Esc" key to hide program.
 
72
 
 
73
2 Press "Q", "q", or "CTRL-C" keys to kill program.
 
74
 
 
75
2 Use the key pad, "R" keys, or arrow  keys  to  move  without
 
76
mouse clicks.
 
77
2 Key pad is defined for the Skewb2d as:
 
78
  /     Counterclockwise
 
79
 
 
80
7 8 9   Upper Left, Up, Upper Right
 
81
  ^
 
82
4<5>6   Left, Clockwise, Right
 
83
  v
 
84
1 2 3   Lower Left, Down, Lower Right
 
85
2 Note: Top, Left, Right, and Down only work when the  control
 
86
key is pressed and there is no analog for Skewb3d.
 
87
 
 
88
2 If the mouse is on a diamond, the above keys will  not  move
 
89
cube because the move is ambiguous.  Also if the mouse is on
 
90
a triangle, not all the keys will function because the  puz-
 
91
zle  will  only  rotate  on the cuts, i.e. a triangle with a
 
92
2 Upper Left - Lower Right cut will rotate only Upper  Left  &
 
93
2 Lower  Right, a triangle with a Upper Right - Lower Left cut
 
94
will rotate only Upper Right &  Lower  Left.   Therefore,  a
 
95
triangle can only move tangential to the center of the face.
 
96
2 No doubt this is confusing, but the physical  skewb  is  the
 
97
same way. In fact, that is part of its appeal.
 
98
 
 
99
2 Key pad for Skewb3d, use must use your intuition (is this  a
 
100
cop  out  or  what?).   The  key  pad is defined differently
 
101
depending on which side of the cube your mouse  is  pointing
 
102
at.   One  thing that stays the same is "5" is Clockwise and
 
103
"/" is Counterclockwise.
 
104
 
 
105
2 Use the control key and the left mouse  button,  keypad,  or
 
106
arrow  keys to move the whole cube.  This is not recorded as
 
107
a turn.
 
108
 
 
109
2 Games and Demos                                         XSKEWB(6)
 
110
 
 
111
2 The title is in the following format (non-motif version):
 
112
     xskewb{2|3}d<dimension>:  (<Number  of  moves>/{<Record
 
113
     number        of        moves>        <username>|"NEVER
 
114
     noaccess"|"practice"}) - <Comment>
 
115
2 If there is no record of the  current  puzzle,  it  displays
 
116
"NEVER noaccess".
 
117
 
 
118
2 OPTIONS
 
119
-geometry {+|-}X{+|-}Y
 
120
        This option sets the initial position of  the  skewb
 
121
        window (resource name "geometry").
 
122
 
 
123
-display host:dpy
 
124
        This option specifies the X server to contact.
 
125
 
 
126
-[no]mono
 
127
        This option allows you to  display on a color screen
 
128
        as if monochrome (resource name "mono").
 
129
 
 
130
-[no]{reverse|rv}
 
131
        This option allows you to see the  skewb  window  in
 
132
        reverse video (resource name "reverse").
 
133
 
 
134
-{foreground|fg} color
 
135
        This option specifies the foreground  of  the  skewb
 
136
        window (resource name "foreground").
 
137
 
 
138
-{background|bg} color
 
139
        This option specifies the background  of  the  skewb
 
140
        window (resource name "background").
 
141
 
 
142
-{border|bd} color
 
143
        This  option  specifies  the  border  color  of  the
 
144
        cubelets in the skewb window (resource name "border-
 
145
        Color").
 
146
 
 
147
-face{0|1|2|3|4|5} <color>
 
148
        This option allows you to change the color of a face
 
149
        (resource name "faceColorN"). In mono-mode, color is
 
150
        represented as the first letter of the  color  name.
 
151
        On  the  2-D  version,  the faces are ordered top to
 
152
        bottom and left to right on the  "t"  configuration.
 
153
        The "+-" configuration is physically consistent with
 
154
        the former, so it is ordered "0, 1, 2, 3, 5, 4".  If
 
155
        you  has  two colors that begin with the same letter
 
156
        you should have one in uppercase and one  in  lower-
 
157
        case  to  distinguish  them  in  mono-mode.  You can
 
158
        change the colors of the faces to make a stupid cube
 
159
        (i.e.  all  White  or  in mono-mode all "W"). Unfor-
 
160
        tunately, it will not normally say its  solved  when
 
161
        its randomized. This would be cheating.
 
162
 
 
163
2 Games and Demos                                         XSKEWB(6)
 
164
 
 
165
-[no]orient
 
166
        This option allows you to  access  the  orient  mode
 
167
        (resource name "orient").
 
168
 
 
169
-[no]practice
 
170
        This option allows you to access the  practice  mode
 
171
        (resource name "practice").
 
172
 
 
173
-{font|fn} ontname
 
174
        This option specifies the font  that  will  be  used
 
175
        (resource name "font").
 
176
 
 
177
-username string
 
178
        This option specifies the user name for any  records
 
179
        made  or  else it will get your login name (resource
 
180
        name "userName").
 
181
 
 
182
2 RECORDS
 
183
2 You must randomize the puzzle before a record is set, other-
 
184
wise an assumption of cheating is made if it is solved after
 
185
a get.
 
186
 
 
187
2 SAVE_FORMAT
 
188
2 The format is not standard.  The reason  for  this  is  that
 
189
this is simple and I do not know what the standard is.
 
190
 
 
191
2 Skewb2d with default colors, not randomized:
 
192
  0       R     Red
 
193
1 2 3   B W G   Blue, White, Green
 
194
  4       P     Pink
 
195
  5       Y     Yellow
 
196
 
 
197
     orient: 0-1 <0 false, 1 true; if 1 then lines on cubies
 
198
     to be oriented>
 
199
     practice: 0-1 <0 false, 1 true>
 
200
     moves: 0-MAXINT <total number of moves>
 
201
 
 
202
     startingPosition: <2  dimensional  array  of  face  and
 
203
     corner  position and center diamond position, each face
 
204
     has 4 corner pieces and one  center  piece,  if  orient
 
205
     mode then orientation number follows face number: 0 up,
 
206
     1 right, 2 down, and 3 left>
 
207
 
 
208
2 This is then followed by the moves, starting from 1.
 
209
     move #: <face> <corner> <direction> <control>
 
210
2 Each turn is with respect to a corner on a face.
 
211
2 The corners start at the upper right and work clockwise.
 
212
2 Direction is represented as 0 upper right, 1 lower right,  2
 
213
lower left, 3 upper left, 5 clockwise, 7 counterclockwise, 8
 
214
up, 9 right, 10 down, and 11 left.
 
215
2 Control is represented as 0 or 1, 1 if  the  whole  cube  is
 
216
moved  at  once (here the corner does not matter), 0 if not.
 
217
 
 
218
2 Games and Demos                                         XSKEWB(6)
 
219
 
 
220
2 The xskewb record keeper does not count a control move as  a
 
221
move, but here we do.
 
222
 
 
223
2 REFERENCES
 
224
2 Beyond Rubik's Cube: spheres,  pyramids,  dodecahedrons  and
 
225
2 God  knows  what  else  by Douglas R. Hofstadter, Scientific
 
226
2 American, July 1982, pp 16-31.
 
227
 
 
228
2 Mickey's Challenge by Christoph Bandelow.
 
229
 
 
230
2 Magic Cubes 1996 Catalog of Dr. Christoph Bandelow.
 
231
 
 
232
2 SEE_ALSO
 
233
2 X(1), xrubik(6), xdino(6), xpyraminx(6), xoct(6), xmball(6),
 
234
xmlink(6),   xpanex(6),   xcubes(6),  xtriangles(6),  xhexa-
 
235
gons(6), xabacus(6)
 
236
 
 
237
2 COPYRIGHTS
 
238
(Reg.) Copyright 1994-2005, David Albert Bagley
 
239
 
 
240
2 BUG_REPORTS AND PROGRAM UPDATES
 
241
2 Send bugs (or their reports, or fixes) to the author:
 
242
     David Albert Bagley, <bagleyd@tux.org>
 
243
 
 
244
2 The latest version is currently at:
 
245
     ftp://ftp.tux.org/pub/tux/bagleyd/xpuzzles
 
246
     ftp://ibiblio.org/pub/Linux/games/strategy
 
247