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

« back to all changes in this revision

Viewing changes to xskewb/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 V7.1                Last change: 29 Aug 2004                    1
57
 
 
58
 
2 Games and Demos                                         XSKEWB(6)
59
 
 
60
 
so there are 2 sets of records.
61
 
 
62
 
"S" or "s" keys reserved for  the  auto-solver  (not  imple-
63
 
mented).
64
 
 
65
 
2 Press "U" or "u" keys to undo move.
66
 
 
67
 
2 Press "G" or "g" keys to get a saved puzzle.
68
 
 
69
 
2 Press "W" or "w" keys to write or save a puzzle.
70
 
 
71
 
2 Press "C" or "c" keys to clear a puzzle.
72
 
 
73
 
2 Press "Esc" key to hide program.
74
 
 
75
 
2 Press "Q", "q", or "CTRL-C" keys to kill program.
76
 
 
77
 
2 Use the key pad, "R" keys, or arrow  keys  to  move  without
78
 
mouse clicks.
79
 
2 Key pad is defined for the Skewb2d as:
80
 
  /     Counterclockwise
81
 
 
82
 
7 8 9   Upper Left, Up, Upper Right
83
 
  ^
84
 
4<5>6   Left, Clockwise, Right
85
 
  v
86
 
1 2 3   Lower Left, Down, Lower Right
87
 
2 Note: Top, Left, Right, and Down only work when the  control
88
 
key is pressed and there is no analog for Skewb3d.
89
 
 
90
 
2 If the mouse is on a diamond, the above keys will  not  move
91
 
cube because the move is ambiguous.  Also if the mouse is on
92
 
a triangle, not all the keys will function because the  puz-
93
 
zle  will  only  rotate  on the cuts, i.e. a triangle with a
94
 
2 Upper Left - Lower Right cut will rotate only Upper  Left  &
95
 
2 Lower  Right, a triangle with a Upper Right - Lower Left cut
96
 
will rotate only Upper Right &  Lower  Left.   Therefore,  a
97
 
triangle can only move tangential to the center of the face.
98
 
2 No doubt this is confusing, but the physical  skewb  is  the
99
 
same way. In fact, that is part of its appeal.
100
 
 
101
 
2 Key pad for Skewb3d, use must use your intuition (is this  a
102
 
cop  out  or  what?).   The  key  pad is defined differently
103
 
depending on which side of the cube your mouse  is  pointing
104
 
at.   One  thing that stays the same is "5" is Clockwise and
105
 
"/" is Counterclockwise.
106
 
 
107
 
2 Use the control key and the left mouse  button,  keypad,  or
108
 
arrow  keys to move the whole cube.  This is not recorded as
109
 
a turn.
110
 
 
111
 
2 V7.1                Last change: 29 Aug 2004                    2
112
 
 
113
 
2 Games and Demos                                         XSKEWB(6)
114
 
 
115
 
2 The title is in the following format (non-motif version):
116
 
     xskewb{2|3}d<dimension>:  (<Number  of  moves>/{<Record
117
 
     number        of        moves>        <username>|"NEVER
118
 
     noaccess"|"practice"}) - <Comment>
119
 
2 If there is no record of the  current  puzzle,  it  displays
120
 
"NEVER noaccess".
121
 
 
122
 
2 OPTIONS
123
 
-geometry {+|-}X{+|-}Y
124
 
        This option sets the initial position of  the  skewb
125
 
        window (resource name "geometry").
126
 
 
127
 
-display host:dpy
128
 
        This option specifies the X server to contact.
129
 
 
130
 
-[no]mono
131
 
        This option allows you to  display on a color screen
132
 
        as if monochrome (resource name "mono").
133
 
 
134
 
-[no]{reverse|rv}
135
 
        This option allows you to see the  skewb  window  in
136
 
        reverse video (resource name "reverse").
137
 
 
138
 
-{foreground|fg} color
139
 
        This option specifies the foreground  of  the  skewb
140
 
        window (resource name "foreground").
141
 
 
142
 
-{background|bg} color
143
 
        This option specifies the background  of  the  skewb
144
 
        window (resource name "background").
145
 
 
146
 
-{border|bd} color
147
 
        This  option  specifies  the  border  color  of  the
148
 
        cubelets in the skewb window (resource name "border-
149
 
        Color").
150
 
 
151
 
-face{0|1|2|3|4|5} <color>
152
 
        This option allows you to change the color of a face
153
 
        (resource name "faceColorN"). In mono-mode, color is
154
 
        represented as the first letter of the  color  name.
155
 
        On  the  2-D  version,  the faces are ordered top to
156
 
        bottom and left to right on the  "t"  configuration.
157
 
        The "+-" configuration is physically consistent with
158
 
        the former, so it is ordered "0, 1, 2, 3, 5, 4".  If
159
 
        you  has  two colors that begin with the same letter
160
 
        you should have one in uppercase and one  in  lower-
161
 
        case  to  distinguish  them  in  mono-mode.  You can
162
 
        change the colors of the faces to make a stupid cube
163
 
        (i.e.  all  White  or  in mono-mode all "W"). Unfor-
164
 
        tunately, it will not normally say its  solved  when
165
 
        its randomized. This would be cheating.
166
 
 
167
 
2 V7.1                Last change: 29 Aug 2004                    3
168
 
 
169
 
2 Games and Demos                                         XSKEWB(6)
170
 
 
171
 
-[no]orient
172
 
        This option allows you to  access  the  orient  mode
173
 
        (resource name "orient").
174
 
 
175
 
-[no]practice
176
 
        This option allows you to access the  practice  mode
177
 
        (resource name "practice").
178
 
 
179
 
-{font|fn} ontname
180
 
        This option specifies the font  that  will  be  used
181
 
        (resource name "font").
182
 
 
183
 
-username string
184
 
        This option specifies the user name for any  records
185
 
        made  or  else it will get your login name (resource
186
 
        name "userName").
187
 
 
188
 
2 RECORDS
189
 
2 You must randomize the puzzle before a record is set, other-
190
 
wise an assumption of cheating is made if it is solved after
191
 
a get.
192
 
 
193
 
2 SAVE_FORMAT
194
 
2 The format is not standard.  The reason  for  this  is  that
195
 
this is simple and I do not know what the standard is.
196
 
 
197
 
2 Skewb2d with default colors, not randomized:
198
 
  0       R     Red
199
 
1 2 3   B W G   Blue, White, Green
200
 
  4       P     Pink
201
 
  5       Y     Yellow
202
 
 
203
 
     orient: 0-1 <0 false, 1 true; if 1 then lines on cubies
204
 
     to be oriented>
205
 
     practice: 0-1 <0 false, 1 true>
206
 
     moves: 0-MAXINT <total number of moves>
207
 
 
208
 
     startingPosition: <2  dimensional  array  of  face  and
209
 
     corner  position and center diamond position, each face
210
 
     has 4 corner pieces and one  center  piece,  if  orient
211
 
     mode then orientation number follows face number: 0 up,
212
 
     1 right, 2 down, and 3 left>
213
 
 
214
 
2 This is then followed by the moves, starting from 1.
215
 
     move #: <face> <corner> <direction> <control>
216
 
2 Each turn is with respect to a corner on a face.
217
 
2 The corners start at the upper right and work clockwise.
218
 
2 Direction is represented as 0 upper right, 1 lower right,  2
219
 
lower left, 3 upper left, 5 clockwise, 7 counterclockwise, 8
220
 
up, 9 right, 10 down, and 11 left.
221
 
2 Control is represented as 0 or 1, 1 if  the  whole  cube  is
222
 
moved  at  once (here the corner does not matter), 0 if not.
223
 
 
224
 
2 V7.1                Last change: 29 Aug 2004                    4
225
 
 
226
 
2 Games and Demos                                         XSKEWB(6)
227
 
 
228
 
2 The xskewb record keeper does not count a control move as  a
229
 
move, but here we do.
230
 
 
231
 
2 REFERENCES
232
 
2 Beyond Rubik's Cube: spheres,  pyramids,  dodecahedrons  and
233
 
2 God  knows  what  else  by Douglas R. Hofstadter, Scientific
234
 
2 American, July 1982, pp 16-31.
235
 
 
236
 
2 Mickey's Challenge by Christoph Bandelow.
237
 
 
238
 
2 Magic Cubes 1996 Catalog of Dr. Christoph Bandelow.
239
 
 
240
 
2 SEE_ALSO
241
 
2 X(1), xrubik(6), xdino(6), xpyraminx(6), xoct(6), xmball(6),
242
 
xmlink(6),   xpanex(6),   xcubes(6),  xtriangles(6),  xhexa-
243
 
gons(6), xabacus(6)
244
 
 
245
 
2 COPYRIGHTS
246
 
(Reg.) Copyright 1994-2004, David Albert Bagley
247
 
 
248
 
2 BUG_REPORTS AND PROGRAM UPDATES
249
 
2 Send bugs (or their reports, or fixes) to the author:
250
 
     David Albert Bagley, <bagleyd@tux.org>
251
 
 
252
 
2 The latest version is currently at:
253
 
     ftp://ftp.tux.org/pub/tux/bagleyd/xpuzzles
254
 
     ftp://ibiblio.org/pub/Linux/games/strategy
255
 
 
256
 
2 V7.1                Last change: 29 Aug 2004                    5
257