Make errors in option parsing actually _do_ something in interactive mode.
[sgt/puzzles] / puzzles.but
CommitLineData
e91825f8 1\title Simon Tatham's Portable Puzzle Collection
2
3\cfg{winhelp-filename}{puzzles.hlp}
4\cfg{winhelp-contents-titlepage}{Contents}
5
6\cfg{text-filename}{puzzles.txt}
7
fccfd04d 8\cfg{html-contents-filename}{index.html}
8709d5d9 9\cfg{html-template-filename}{%k.html}
10\cfg{html-index-filename}{docindex.html}
fccfd04d 11\cfg{html-leaf-level}{1}
12\cfg{html-contents-depth-0}{1}
13\cfg{html-contents-depth-1}{2}
14\cfg{html-leaf-contains-contents}{true}
15
e91825f8 16\cfg{info-filename}{puzzles.info}
17
18\cfg{ps-filename}{puzzles.ps}
19\cfg{pdf-filename}{puzzles.pdf}
20
1d8e8ad8 21\define{by} \u00D7{x}
22
f1010613 23\define{dash} \u2013{-}
24
e91825f8 25This is a collection of small one-player puzzle games.
26
e8b58d59 27\copyright This manual is copyright 2004-2006 Simon Tatham. All rights
e91825f8 28reserved. You may distribute this documentation under the MIT licence.
29See \k{licence} for the licence text in full.
30
8709d5d9 31\cfg{html-local-head}{<meta name="AppleTitle" content="Puzzles Help">}
e91825f8 32
8709d5d9 33\versionid $Id$
e91825f8 34
35\C{intro} Introduction
36
37I wrote this collection because I thought there should be more small
38desktop toys available: little games you can pop up in a window and
39play for two or three minutes while you take a break from whatever
8a771ea7 40else you were doing. And I was also annoyed that every time I found
41a good game on (say) \i{Unix}, it wasn't available the next time I
42was sitting at a \i{Windows} machine, or vice versa; so I arranged
43that everything in my personal puzzle collection will happily run on
bb219ea1 44both, and have more recently done a port to \i{Mac OS X} as well. When I
8a771ea7 45find (or perhaps invent) further puzzle games that I like, they'll
46be added to this collection and will immediately be available on
47both platforms. And if anyone feels like writing any other front
f1010613 48ends \dash PocketPC, Mac OS pre-10, or whatever it might be \dash
49then all the games in this framework will immediately become
50available on another platform as well.
e91825f8 51
aafaa7fb 52The actual games in this collection were mostly not my invention; they
53are re-implementations of existing game concepts within my portable
54puzzle framework. I do not claim credit, in general, for inventing the
55rules of any of these puzzles. (I don't even claim authorship of all
56the code; some of the puzzles have been submitted by other authors.)
e91825f8 57
58This collection is distributed under the \i{MIT licence} (see
59\k{licence}). This means that you can do pretty much anything you like
60with the game binaries or the code, except pretending you wrote them
61yourself, or suing me if anything goes wrong.
62
63The most recent versions, and \i{source code}, can be found at
64\I{website}\W{http://www.chiark.greenend.org.uk/~sgtatham/puzzles/}\cw{http://www.chiark.greenend.org.uk/~sgtatham/puzzles/}.
65
66Please report \I{feedback}\i{bugs} to
67\W{mailto:anakin@pobox.com}\cw{anakin@pobox.com}.
68You might find it helpful to read this article before reporting a bug:
69
70\W{http://www.chiark.greenend.org.uk/~sgtatham/bugs.html}\cw{http://www.chiark.greenend.org.uk/~sgtatham/bugs.html}
71
72\ii{Patches} are welcome. Especially if they provide a new front end
73(to make all these games run on another platform), or a new game.
74
75
76\C{common} \ii{Common features}
77
78This chapter describes features that are common to all the games.
79
80\H{common-actions} \I{controls}Common actions
81
82These actions are all available from the \I{Game menu}\q{Game} menu
83and via \I{keys}keyboard shortcuts, in addition to any game-specific
84actions.
85
bb219ea1 86(On \i{Mac OS X}, to conform with local user interface standards, these
3101ae26 87actions are situated on the \I{File menu}\q{File} and \I{Edit
bacaa96e 88menu}\q{Edit} menus instead.)
89
e91825f8 90\dt \ii\e{New game} (\q{N}, Ctrl+\q{N})
91
92\dd Starts a new game, with a random initial state.
93
2b06373b 94\dt \ii\e{Restart game}
e91825f8 95
2b06373b 96\dd Resets the current game to its initial state. (This can be undone.)
e91825f8 97
668be019 98\dt \ii\e{Load}
99
100\dd Loads a saved game from a file on disk.
101
102\dt \ii\e{Save}
103
104\dd Saves the current state of your game to a file on disk.
105
106\lcont{
107
108The Load and Save operations should preserve your entire game
109history (so you can save, reload, and still Undo and Redo things you
110had done before saving).
111
112}
113
3c9388ef 114\dt \I{printing, on Windows}\e{Print}
e28d0584 115
116\dd Where supported (currently only on Windows), brings up a dialog
117allowing you to print an arbitrary number of puzzles randomly
118generated from the current parameters, optionally including the
3c9388ef 119current puzzle. (Only for puzzles which make sense to print, of
120course - it's hard to think of a sensible printable representation
121of Fifteen!)
e28d0584 122
e91825f8 123\dt \ii\e{Undo} (\q{U}, Ctrl+\q{Z}, Ctrl+\q{_})
124
125\dd Undoes a single move. (You can undo moves back to the start of the
2b06373b 126session.)
e91825f8 127
2b06373b 128\dt \ii\e{Redo} (\q{R}, Ctrl+\q{R})
e91825f8 129
2b06373b 130\dd Redoes a previously undone move.
e91825f8 131
bacaa96e 132\dt \ii\e{Copy}
133
134\dd Copies the current state of your game to the clipboard in text
135format, so that you can paste it into (say) an e-mail client or a
136web message board if you're discussing the game with someone else.
137(Not all games support this feature.)
138
2ac6d24e 139\dt \ii\e{Solve}
140
141\dd Transforms the puzzle instantly into its solved state. For some
142games (Cube) this feature is not supported at all because it is of
143no particular use. For other games (such as Pattern), the solved
144state can be used to give you information, if you can't see how a
145solution can exist at all or you want to know where you made a
146mistake. For still other games (such as Sixteen), automatic solution
147tells you nothing about how to \e{get} to the solution, but it does
148provide a useful way to get there quickly so that you can experiment
149with set-piece moves and transformations.
150
151\lcont{
152
153Some games (such as Solo) are capable of solving a game ID you have
154typed in from elsewhere. Other games (such as Rectangles) cannot
155solve a game ID they didn't invent themself, but when they did
156invent the game ID they know what the solution is already. Still
157other games (Pattern) can solve \e{some} external game IDs, but only
158if they aren't too difficult.
159
e8124727 160The \q{Solve} command adds the solved state to the end of the undo
161chain for the puzzle. In other words, if you want to go back to
162solving it yourself after seeing the answer, you can just press Undo.
163
2ac6d24e 164}
165
e91825f8 166\dt \I{exit}\ii\e{Quit} (\q{Q}, Ctrl+\q{Q})
167
168\dd Closes the application entirely.
169
1185e3c5 170\H{common-id} Specifying games with the \ii{game ID}
171
172There are two ways to save a game specification out of a puzzle and
173recreate it later, or recreate it in somebody else's copy of the
174same puzzle.
175
176The \q{\i{Specific}} and \q{\i{Random Seed}} options from the
bb219ea1 177\I{Game menu}\q{Game} menu (or the \q{File} menu, on \i{Mac OS X}) each
1185e3c5 178show a piece of text (a \q{game ID}) which is sufficient to
179reconstruct precisely the same game at a later date.
180
181You can enter either of these pieces of text back into the program
182(via the same \q{Specific} or \q{Random Seed} menu options) at a
183later point, and it will recreate the same game. You can also use
184either one as a \i{command line} argument (on Windows or Unix); see
185\k{common-cmdline} for more detail.
186
187The difference between the two forms is that a descriptive game ID
188is a literal \e{description} of the \i{initial state} of the game,
189whereas a random seed is just a piece of arbitrary text which was
190provided as input to the random number generator used to create the
191puzzle. This means that:
192
193\b Descriptive game IDs tend to be longer in many puzzles (although
194some, such as Cube (\k{cube}), only need very short descriptions).
195So a random seed is often a \e{quicker} way to note down the puzzle
196you're currently playing, or to tell it to somebody else so they can
197play the same one as you.
198
199\b Any text at all is a valid random seed. The automatically
200generated ones are fifteen-digit numbers, but anything will do; you
201can type in your full name, or a word you just made up, and a valid
202puzzle will be generated from it. This provides a way for two or
203more people to race to complete the same puzzle: you think of a
204random seed, then everybody types it in at the same time, and nobody
205has an advantage due to having seen the generated puzzle before
206anybody else.
207
208\b It is often possible to convert puzzles from other sources (such
209as \q{nonograms} or \q{sudoku} from newspapers) into descriptive
210game IDs suitable for use with these programs.
211
212\b Random seeds are not guaranteed to produce the same result if you
213use them with a different \i\e{version} of the puzzle program. This
214is because the generation algorithm might have been improved or
215modified in later versions of the code, and will therefore produce a
216different result when given the same sequence of random numbers. Use
217a descriptive game ID if you aren't sure that it will be used on the
218same version of the program as yours.
219
220\lcont{(Use the \q{About} menu option to find out the version number
221of the program. Programs with the same version number running on
222different platforms should still be random-seed compatible.)}
223
224\I{ID format}A descriptive game ID starts with a piece of text which
225encodes the \i\e{parameters} of the current game (such as grid
226size). Then there is a colon, and after that is the description of
227the game's initial state. A random seed starts with a similar string
228of parameters, but then it contains a hash sign followed by
229arbitrary data.
230
231If you enter a descriptive game ID, the program will not be able to
232show you the random seed which generated it, since it wasn't
233generated \e{from} a random seed. If you \e{enter} a random seed,
234however, the program will be able to show you the descriptive game
235ID derived from that random seed.
236
237Note that the game parameter strings are not always identical
238between the two forms. For some games, there will be parameter data
239provided with the random seed which is not included in the
240descriptive game ID. This is because that parameter information is
241only relevant when \e{generating} puzzle grids, and is not important
242when playing them. Thus, for example, the difficulty level in Solo
243(\k{solo}) is not mentioned in the descriptive game ID.
244
245These additional parameters are also not set permanently if you type
246in a game ID. For example, suppose you have Solo set to \q{Advanced}
247difficulty level, and then a friend wants your help with a
248\q{Trivial} puzzle; so the friend reads out a random seed specifying
249\q{Trivial} difficulty, and you type it in. The program will
250generate you the same \q{Trivial} grid which your friend was having
251trouble with, but once you have finished playing it, when you ask
252for a new game it will automatically go back to the \q{Advanced}
253difficulty which it was previously set on.
e91825f8 254
255\H{common-type} The \q{Type} menu
256
257The \I{Type menu}\q{Type} menu, if present, may contain a list of
258\i{preset} game settings. Selecting one of these will start a new
259random game with the parameters specified.
260
1185e3c5 261The \q{Type} menu may also contain a \q{\i{Custom}} option which
262allows you to fine-tune game \i{parameters}. The parameters
263available are specific to each game and are described in the
264following sections.
e91825f8 265
266\H{common-cmdline} Specifying game parameters on the \i{command line}
267
bb219ea1 268(This section does not apply to the \i{Mac OS X} version.)
8a771ea7 269
e91825f8 270The games in this collection deliberately do not ever save
271information on to the computer they run on: they have no high score
272tables and no saved preferences. (This is because I expect at least
273some people to play them at work, and those people will probably
274appreciate leaving as little evidence as possible!)
275
bb219ea1 276However, if you do want to arrange for one of these games to
277\I{default parameters, specifying}default to a particular set of
278parameters, you can specify them on the command line.
e91825f8 279
280The easiest way to do this is to set up the parameters you want
281using the \q{Type} menu (see \k{common-type}), and then to select
1185e3c5 282\q{Random Seed} from the \q{Game} or \q{File} menu (see
283\k{common-id}). The text in the \q{Game ID} box will be composed of
284two parts, separated by a hash. The first of these parts represents
285the game parameters (the size of the playing area, for example, and
286anything else you set using the \q{Type} menu).
e91825f8 287
288If you run the game with just that parameter text on the command
289line, it will start up with the settings you specified.
290
291For example: if you run Cube (see \k{cube}), select \q{Octahedron}
292from the \q{Type} menu, and then go to the game ID selection, you
1185e3c5 293will see a string of the form \cq{o2x2#338686542711620}. Take only
294the part before the hash (\cq{o2x2}), and start Cube with that text
295on the command line: \cq{cube o2x2}.
e91825f8 296
297If you copy the \e{entire} game ID on to the command line, the game
298will start up in the specific game that was described. This is
299occasionally a more convenient way to start a particular game ID
300than by pasting it into the game ID selection box.
301
1185e3c5 302(You could also retrieve the encoded game parameters using the
303\q{Specific} menu option instead of \q{Random Seed}, but if you do
304then some options, such as the difficulty level in Solo, will be
305missing. See \k{common-id} for more details on this.)
306
bb219ea1 307\H{common-unix-cmdline} \i{Unix} \i{command-line} options
3c9388ef 308
309(This section only applies to the Unix port.)
310
311In addition to specifying game parameters on the command line (see
312\k{common-cmdline}), you can also specify various options:
313
314\dt \cw{--generate }\e{n}
315
316\dd If this option is specified, instead of a puzzle being displayed,
bb219ea1 317a number of descriptive game IDs will be \I{generating game IDs}invented
318and printed on standard output. This is useful for gaining access to
319the game generation algorithms without necessarily using the frontend.
3c9388ef 320
321\lcont{
322
323If game parameters are specified on the command-line, they will be
324used to generate the game IDs; otherwise a default set of parameters
325will be used.
326
327The most common use of this option is in conjunction with \c{--print},
328in which case its behaviour is slightly different; see below.
329
330}
331
332\dt \I{printing, on Unix}\cw{--print }\e{w}\cw{x}\e{h}
333
334\dd If this option is specified, instead of a puzzle being displayed,
335a printed representation of one or more unsolved puzzles is sent to
336standard output, in \i{PostScript} format.
337
338\lcont{
339
340On each page of puzzles, there will be \e{w} across and \e{h} down. If
341there are more puzzles than \e{w}\by\e{h}, more than one page will be
342printed.
343
344If \c{--generate} has also been specified, the invented game IDs will
345be used to generate the printed output. Otherwise, a list of game IDs
346is expected on standard input (which can be descriptive or random
347seeds; see \k{common-id}), in the same format produced by
348\c{--generate}.
349
350For example:
351
352\c net --generate 12 --print 2x3 7x7w | lpr
353
354will generate two pages of printed Net puzzles (each of which will
355have a 7\by\.7 wrapping grid), and pipe the output to the \c{lpr}
356command, which on many systems will send them to an actual printer.
357
358There are various other options which affect printing; see below.
359
360}
361
362\dt \cw{--version}
363
364\dd Prints version information about the game, and then quits.
365
366The following options are only meaningful if \c{--print} is also
367specified:
368
369\dt \cw{--with-solutions}
370
371\dd The set of pages filled with unsolved puzzles will be followed by
372the solutions to those puzzles.
373
374\dt \cw{--scale }\e{n}
375
376\dd Adjusts how big each puzzle is when printed. Larger numbers make
377puzzles bigger; the default is 1.0.
378
379\dt \cw{--colour}
380
381\dd Puzzles will be printed in colour, rather than in black and white
382(if supported by the puzzle).
383
e28d0584 384
e91825f8 385\C{net} \i{Net}
386
387\cfg{winhelp-topic}{games.net}
388
389(\e{Note:} the \i{Windows} version of this game is called
390\i\cw{NETGAME.EXE} to avoid clashing with Windows's own \cw{NET.EXE}.)
391
392I originally saw this in the form of a Flash game called \i{FreeNet}
6e8e5c51 393\k{FreeNet}, written by Pavils Jurjans; there are several other
394implementations under the name \i{NetWalk}. The computer prepares a
e91825f8 395network by connecting up the centres of squares in a grid, and then
396shuffles the network by rotating every tile randomly. Your job is to
397rotate it all back into place. The successful solution will be an
6e8e5c51 398entirely connected network, with no closed loops. \#{The latter
399clause means that there are no closed paths within the network.
400Could this be clearer? "No closed paths"?} As a visual aid,
e91825f8 401all tiles which are connected to the one in the middle are
402highlighted.
403
404\B{FreeNet} \W{http://www.jurjans.lv/stuff/net/FreeNet.htm}\cw{http://www.jurjans.lv/stuff/net/FreeNet.htm}
405
406\H{net-controls} \i{Net controls}
407
408\IM{Net controls} controls, for Net
409\IM{Net controls} keys, for Net
410\IM{Net controls} shortcuts (keyboard), for Net
411
412This game can be played with either the keyboard or the mouse. The
413controls are:
414
415\dt \e{Select tile}: mouse pointer, arrow keys
416
417\dt \e{Rotate tile anticlockwise}: left mouse button, \q{A} key
418
419\dt \e{Rotate tile clockwise}: right mouse button, \q{D} key
420
118473f5 421\dt \e{Rotate tile by 180 degrees}: \q{F} key
422
e91825f8 423\dt \e{Lock (or unlock) tile}: middle mouse button, shift-click, \q{S} key
424
425\dd You can lock a tile once you're sure of its orientation. You can
426also unlock it again, but while it's locked you can't accidentally
427turn it.
428
f0ee053c 429The following controls are not necessary to complete the game, but may
430be useful:
431
432\dt \e{Shift grid}: Shift + arrow keys
433
434\dd On grids that wrap, you can move the origin of the grid, so that
435tiles that were on opposite sides of the grid can be seen together.
436
437\dt \e{Move centre}: Ctrl + arrow keys
438
439\dd You can change which tile is used as the source of highlighting.
440(It doesn't ultimately matter which tile this is, as every tile will
441be connected to every other tile in a correct solution, but it may be
442helpful in the intermediate stages of solving the puzzle.)
443
cbb5549e 444\dt \e{Jumble tiles}: \q{J} key
445
446\dd This key turns all tiles that are not locked to random
447orientations.
448
e91825f8 449(All the actions described in \k{common-actions} are also available.)
450
451\H{net-params} \I{parameters, for Net}Net parameters
452
453These parameters are available from the \q{Custom...} option on the
454\q{Type} menu.
455
456\dt \e{Width}, \e{Height}
457
458\dd Size of grid in tiles.
459
460\dt \e{Walls wrap around}
461
462\dd If checked, flow can pass from the left edge to the right edge,
463and from top to bottom, and vice versa.
464
465\dt \e{Barrier probability}
466
467\dd A number between 0.0 and 1.0 controlling whether an immovable
468barrier is placed between two tiles to prevent flow between them (a
469higher number gives more barriers). Since barriers are immovable, they
470act as constraints on the solution (i.e., hints).
471
472\lcont{
473
474The grid generation in Net has been carefully arranged so that the
475barriers are independent of the rest of the grid. This means that if
1185e3c5 476you note down the random seed used to generate the current puzzle
477(see \k{common-id}), change the \e{Barrier probability} parameter,
478and then re-enter the same random seed, you should see exactly the
479same starting grid, with the only change being the number of
480barriers. So if you're stuck on a particular grid and need a hint,
481you could start up another instance of Net, set up the same
482parameters but a higher barrier probability, and enter the game seed
483from the original Net window.
e91825f8 484
485}
486
40fde884 487\dt \e{Ensure unique solution}
488
489\dd Normally, Net will make sure that the puzzles it presents have
490only one solution. Puzzles with ambiguous sections can be more
491difficult and more subtle, so if you like you can turn off this
492feature and risk having ambiguous puzzles. (Also, finding \e{all}
493the possible solutions can be an additional challenge for an
494advanced player.)
495
e28d0584 496
e91825f8 497\C{cube} \i{Cube}
498
499\cfg{winhelp-topic}{games.cube}
500
501This is another one I originally saw as a web game. This one was a
502Java game \k{cube-java-game}, by Paul Scott. You have a grid of 16
503squares, six of which are blue; on one square rests a cube. Your move
504is to use the arrow keys to roll the cube through 90 degrees so that
505it moves to an adjacent square. If you roll the cube on to a blue
506square, the blue square is picked up on one face of the cube; if you
507roll a blue face of the cube on to a non-blue square, the blueness is
508put down again. (In general, whenever you roll the cube, the two faces
509that come into contact swap colours.) Your job is to get all six blue
510squares on to the six faces of the cube at the same time. Count your
511moves and try to do it in as few as possible.
512
513Unlike the original Java game, my version has an additional feature:
514once you've mastered the game with a cube rolling on a square grid,
515you can change to a triangular grid and roll any of a tetrahedron, an
516octahedron or an icosahedron.
517
518\B{cube-java-game} \W{http://www3.sympatico.ca/paulscott/cube/cube.htm}\cw{http://www3.sympatico.ca/paulscott/cube/cube.htm}
519
520\H{cube-controls} \i{Cube controls}
521
522\IM{Cube controls} controls, for Cube
523\IM{Cube controls} keys, for Cube
524\IM{Cube controls} shortcuts (keyboard), for Cube
525
a1d5acff 526This game can be played with either the keyboard or the mouse.
e91825f8 527
a1d5acff 528Left-clicking anywhere on the window will move the cube (or other
529solid) towards the mouse pointer.
530
531The arrow keys can also used to roll the cube on its square grid in
532the four cardinal directions.
e91825f8 533On the triangular grids, the mapping of arrow keys to directions is
534more approximate. Vertical movement is disallowed where it doesn't
535make sense. The four keys surrounding the arrow keys on the numeric
536keypad (\q{7}, \q{9}, \q{1}, \q{3}) can be used for diagonal movement.
537
538(All the actions described in \k{common-actions} are also available.)
539
540\H{cube-params} \I{parameters, for Cube}Cube parameters
541
542These parameters are available from the \q{Custom...} option on the
543\q{Type} menu.
544
545\dt \e{Type of solid}
546
547\dd Selects the solid to roll (and hence the shape of the grid):
548tetrahedron, cube, octahedron, or icosahedron.
549
550\dt \e{Width / top}, \e{Height / bottom}
551
552\dd On a square grid, horizontal and vertical dimensions. On a
553triangular grid, the number of triangles on the top and bottom rows
554respectively.
555
556
557\C{fifteen} \i{Fifteen}
558
559\cfg{winhelp-topic}{games.fifteen}
560
1d8e8ad8 561The old ones are the best: this is the good old \q{\i{15-puzzle}}
562with sliding tiles. You have a 4\by\.4 square grid; 15 squares
563contain numbered tiles, and the sixteenth is empty. Your move is to
564choose a tile next to the empty space, and slide it into the space.
565The aim is to end up with the tiles in numerical order, with the
566space in the bottom right (so that the top row reads 1,2,3,4 and the
567bottom row reads 13,14,15,\e{space}).
e91825f8 568
569\H{fifteen-controls} \i{Fifteen controls}
570
571\IM{Fifteen controls} controls, for Fifteen
572\IM{Fifteen controls} keys, for Fifteen
573\IM{Fifteen controls} shortcuts (keyboard), for Fifteen
574
575This game can be controlled with the mouse or the keyboard.
576
577A left-click with the mouse in the row or column containing the empty
578space will move as many tiles as necessary to move the space to the
579mouse pointer.
580
581The arrow keys will move a tile adjacent to the space in the direction
582indicated (moving the space in the \e{opposite} direction).
583
584(All the actions described in \k{common-actions} are also available.)
585
586\H{fifteen-params} \I{parameters, for Fifteen}Fifteen parameters
587
588The only options available from the \q{Custom...} option on the \q{Type}
589menu are \e{Width} and \e{Height}, which are self-explanatory. (Once
590you've changed these, it's not a \q{15-puzzle} any more, of course!)
591
592
593\C{sixteen} \i{Sixteen}
594
595\cfg{winhelp-topic}{games.sixteen}
596
597Another sliding tile puzzle, visually similar to Fifteen (see
598\k{fifteen}) but with a different type of move. This time, there is no
599hole: all 16 squares on the grid contain numbered squares. Your move
600is to shift an entire row left or right, or shift an entire column up
601or down; every time you do that, the tile you shift off the grid
602re-appears at the other end of the same row, in the space you just
603vacated. To win, arrange the tiles into numerical order (1,2,3,4 on
604the top row, 13,14,15,16 on the bottom). When you've done that, try
605playing on different sizes of grid.
606
607I \e{might} have invented this game myself, though only by accident if
608so (and I'm sure other people have independently invented it). I
609thought I was imitating a screensaver I'd seen, but I have a feeling
610that the screensaver might actually have been a Fifteen-type puzzle
611rather than this slightly different kind. So this might be the one
612thing in my puzzle collection which represents creativity on my part
613rather than just engineering.
614
615\H{sixteen-controls} \I{controls, for Sixteen}Sixteen controls
616
617This game is played with the mouse. Left-clicking on an arrow will
618move the appropriate row or column in the direction indicated.
619Right-clicking will move it in the opposite direction.
620
621(All the actions described in \k{common-actions} are also available.)
622
623\H{sixteen-params} \I{parameters, for Sixteen}Sixteen parameters
624
81875211 625The parameters available from the \q{Custom...} option on the
626\q{Type} menu are:
627
628\b \e{Width} and \e{Height}, which are self-explanatory.
629
630\b You can ask for a limited shuffling operation to be performed on
631the grid. By default, Sixteen will shuffle the grid in such a way
632that any arrangement is about as probable as any other. You can
633override this by requesting a precise number of shuffling moves to
634be performed. Typically your aim is then to determine the precise
635set of shuffling moves and invert them exactly, so that you answer
636(say) a four-move shuffle with a four-move solution. Note that the
637more moves you ask for, the more likely it is that solutions shorter
638than the target length will turn out to be possible.
639
e91825f8 640
9038fd11 641\C{twiddle} \i{Twiddle}
642
643\cfg{winhelp-topic}{games.twiddle}
644
645Twiddle is a tile-rearrangement puzzle, visually similar to Sixteen
646(see \k{sixteen}): you are given a grid of square tiles, each
647containing a number, and your aim is to arrange the numbers into
648ascending order.
649
650In basic Twiddle, your move is to rotate a square group of four
a3631c72 651tiles about their common centre. (Orientation is not significant in
652the basic puzzle, although you can select it.) On more advanced
653settings, you can rotate a larger square group of tiles.
9038fd11 654
655I first saw this type of puzzle in the GameCube game \q{Metroid
656Prime 2}. In the Main Gyro Chamber in that game, there is a puzzle
657you solve to unlock a door, which is a special case of Twiddle. I
658developed this game as a generalisation of that puzzle.
659
660\H{twiddle-controls} \I{controls, for Twiddle}Twiddle controls
661
662To play Twiddle, click the mouse in the centre of the square group
663you wish to rotate. In the basic mode, you rotate a 2\by\.2 square,
664which means you have to click at a corner point where four tiles
665meet.
666
667In more advanced modes you might be rotating 3\by\.3 or even more at
668a time; if the size of the square is odd then you simply click in
669the centre tile of the square you want to rotate.
670
671Clicking with the left mouse button rotates the group anticlockwise.
672Clicking with the right button rotates it clockwise.
673
674(All the actions described in \k{common-actions} are also available.)
675
676\H{twiddle-parameters} \I{parameters, for Twiddle}Twiddle parameters
677
678Twiddle provides several configuration options via the \q{Custom}
679option on the \q{Type} menu:
680
681\b You can configure the width and height of the puzzle grid.
682
683\b You can configure the size of square block that rotates at a time.
684
685\b You can ask for every square in the grid to be distinguishable
686(the default), or you can ask for a simplified puzzle in which there
687are groups of identical numbers. In the simplified puzzle your aim
688is just to arrange all the 1s into the first row, all the 2s into
689the second row, and so on.
690
a3631c72 691\b You can configure whether the orientation of tiles matters. If
d50832a3 692you ask for an orientable puzzle, each tile will have a triangle
693drawn in it. All the triangles must be pointing upwards to complete
694the puzzle.
a3631c72 695
81875211 696\b You can ask for a limited shuffling operation to be performed on
697the grid. By default, Twiddle will shuffle the grid so much that any
698arrangement is about as probable as any other. You can override this
699by requesting a precise number of shuffling moves to be performed.
700Typically your aim is then to determine the precise set of shuffling
701moves and invert them exactly, so that you answer (say) a four-move
702shuffle with a four-move solution. Note that the more moves you ask
703for, the more likely it is that solutions shorter than the target
704length will turn out to be possible.
705
9038fd11 706
e91825f8 707\C{rectangles} \i{Rectangles}
708
709\cfg{winhelp-topic}{games.rectangles}
710
711You have a grid of squares, with numbers written in some (but not all)
712of the squares. Your task is to subdivide the grid into rectangles of
713various sizes, such that (a) every rectangle contains exactly one
714numbered square, and (b) the area of each rectangle is equal to the
715number written in its numbered square.
716
717Credit for this game goes to the Japanese puzzle magazine \i{Nikoli}
26801d29 718\k{nikoli-rect}; I've also seen a Palm implementation at \i{Puzzle
719Palace} \k{puzzle-palace-rect}. Unlike Puzzle Palace's
720implementation, my version automatically generates random grids of
721any size you like. The quality of puzzle design is therefore not
722quite as good as hand-crafted puzzles would be, but on the plus side
723you get an inexhaustible supply of puzzles tailored to your own
724specification.
e91825f8 725
6ae37301 726\B{nikoli-rect} \W{http://www.nikoli.co.jp/puzzles/7/index_text-e.htm}\cw{http://www.nikoli.co.jp/puzzles/7/index_text-e.htm}
e91825f8 727
6ae37301 728\B{puzzle-palace-rect} \W{http://www.puzzle.gr.jp/puzzle/sikaku/palm/index.html.en}\cw{http://www.puzzle.gr.jp/puzzle/sikaku/palm/index.html.en}
e91825f8 729
730\H{rectangles-controls} \I{controls, for Rectangles}Rectangles controls
731
732This game is played with the mouse.
733
734Left-click any edge to toggle it on or off, or click and drag to draw
735an entire rectangle (or line) on the grid in one go (removing any
736existing edges within that rectangle).
737
738When a rectangle of the correct size is completed, it will be shaded.
739
740(All the actions described in \k{common-actions} are also available.)
741
742\H{rectangles-params} \I{parameters, for Rectangles}Rectangles parameters
743
40fde884 744These parameters are available from the \q{Custom...} option on the
745\q{Type} menu.
746
747\dt \e{Width}, \e{Height}
748
749\dd Size of grid, in squares.
750
751\dt \e{Expansion factor}
aea3ed9a 752
40fde884 753\dd This is a mechanism for changing the type of grids generated by
754the program. Some people prefer a grid containing a few large
755rectangles to one containing many small ones. So you can ask
aea3ed9a 756Rectangles to essentially generate a \e{smaller} grid than the size
757you specified, and then to expand it by adding rows and columns.
758
40fde884 759\lcont{
760
aea3ed9a 761The default expansion factor of zero means that Rectangles will
762simply generate a grid of the size you ask for, and do nothing
763further. If you set an expansion factor of (say) 0.5, it means that
764each dimension of the grid will be expanded to half again as big
765after generation. In other words, the initial grid will be 2/3 the
766size in each dimension, and will be expanded to its full size
767without adding any more rectangles.
768
4a03dbb4 769Setting an expansion factor of around 0.5 tends to make the game
770more difficult, and also (in my experience) rewards a less deductive
771and more intuitive playing style. If you set it \e{too} high,
772though, the game simply cannot generate more than a few rectangles
773to cover the entire grid, and the game becomes trivial.
aea3ed9a 774
40fde884 775}
776
777\dt \e{Ensure unique solution}
778
779\dd Normally, Rectangles will make sure that the puzzles it presents
780have only one solution. Puzzles with ambiguous sections can be more
781difficult and more subtle, so if you like you can turn off this
782feature and risk having ambiguous puzzles. Also, finding \e{all} the
783possible solutions can be an additional challenge for an advanced
784player. Turning off this option can also speed up puzzle generation.
785
6ae37301 786
e91825f8 787\C{netslide} \i{Netslide}
788
789\cfg{winhelp-topic}{games.netslide}
790
6bbab0fe 791This game combines the grid generation of Net (see \k{net}) with the
792movement of Sixteen (see \k{sixteen}): you have a Net grid, but
793instead of rotating tiles back into place you have to slide them
794into place by moving a whole row at a time.
e91825f8 795
e91825f8 796As in Sixteen, \I{controls, for Netslide}control is with the mouse.
797See \k{sixteen-controls}.
798
aa27d493 799\I{parameters, for Netslide}The available game parameters have similar
800meanings to those in Net (see \k{net-params}) and Sixteen (see
801\k{sixteen-params}).
e91825f8 802
6bbab0fe 803Netslide was contributed to this collection by Richard Boulton.
6ae37301 804
e28d0584 805
b6b0369e 806\C{pattern} \i{Pattern}
807
808\cfg{winhelp-topic}{games.pattern}
809
810You have a grid of squares, which must all be filled in either black
811or white. Beside each row of the grid are listed the lengths of the
812runs of black squares on that row; above each column are listed the
813lengths of the runs of black squares in that column. Your aim is to
814fill in the entire grid black or white.
815
816I first saw this puzzle form around 1995, under the name
2e1e03ff 817\q{\i{nonograms}}. I've seen it in various places since then, under
b6b0369e 818different names.
819
820Normally, puzzles of this type turn out to be a meaningful picture
821of something once you've solved them. However, since this version
822generates the puzzles automatically, they will just look like random
823groupings of squares. (One user has suggested that this is actually
824a \e{good} thing, since it prevents you from guessing the colour of
825squares based on the picture, and forces you to use logic instead.)
826The advantage, though, is that you never run out of them.
827
2e1e03ff 828\H{pattern-controls} \I{controls, for Pattern}Pattern controls
b6b0369e 829
830This game is played with the mouse.
831
832Left-click in a square to colour it black. Right-click to colour it
833white. If you make a mistake, you can middle-click, or hold down
834Shift while clicking with any button, to colour the square in the
835default grey (meaning \q{undecided}) again.
836
837You can click and drag with the left or right mouse button to colour
838a vertical or horizontal line of squares black or white at a time
839(respectively). If you click and drag with the middle button, or
840with Shift held down, you can colour a whole rectangle of squares
841grey.
842
2e1e03ff 843(All the actions described in \k{common-actions} are also available.)
844
b6b0369e 845\H{pattern-parameters} \I{parameters, for Pattern}Pattern parameters
846
847The only options available from the \q{Custom...} option on the \q{Type}
848menu are \e{Width} and \e{Height}, which are self-explanatory.
e91825f8 849
6ae37301 850
1d8e8ad8 851\C{solo} \i{Solo}
852
853\cfg{winhelp-topic}{games.solo}
854
855You have a square grid, which is divided into square or rectangular
856blocks. Each square must be filled in with a digit from 1 to the
857size of the grid, in such a way that
858
859\b every row contains only one occurrence of each digit
860
861\b every column contains only one occurrence of each digit
862
863\b every block contains only one occurrence of each digit.
864
865You are given some of the numbers as clues; your aim is to place the
866rest of the numbers correctly.
867
868The default puzzle size is 3\by\.3 (a 9\by\.9 actual grid, divided
869into nine 3\by\.3 blocks). You can also select sizes with
870rectangular blocks instead of square ones, such as 2\by\.3 (a
8716\by\.6 grid divided into six 3\by\.2 blocks).
872
873If you select a puzzle size which requires more than 9 digits, the
874additional digits will be letters of the alphabet. For example, if
875you select 3\by\.4 then the digits which go in your grid will be 1
876to 9, plus \cq{a}, \cq{b} and \cq{c}.
877
3012ffca 878I first saw this puzzle in \i{Nikoli} \k{nikoli-solo}, although it's
879also been popularised by various newspapers under the name
880\q{Sudoku} or \q{Su Doku}. Howard Garns is considered the inventor
881of the modern form of the puzzle, and it was first published in
882\e{Dell Pencil Puzzles and Word Games}. A more elaborate treatment
883of the history of the puzzle can be found on Wikipedia
884\k{wikipedia-solo}.
1d8e8ad8 885
6ae37301 886\B{nikoli-solo} \W{http://www.nikoli.co.jp/puzzles/1/index_text-e.htm}\cw{http://www.nikoli.co.jp/puzzles/1/index_text-e.htm}
887
3012ffca 888\B{wikipedia-solo} \W{http://en.wikipedia.org/wiki/Sudoku}\cw{http://en.wikipedia.org/wiki/Sudoku}
889
1d8e8ad8 890\H{solo-controls} \I{controls, for Solo}Solo controls
891
892To play Solo, simply click the mouse in any empty square and then
893type a digit or letter on the keyboard to fill that square. If you
894make a mistake, click the mouse in the incorrect square and press
895Space to clear it again (or use the Undo feature).
896
c8266e03 897If you \e{right}-click in a square and then type a number, that
898number will be entered in the square as a \q{pencil mark}. You can
899have pencil marks for multiple numbers in the same square.
900
901The game pays no attention to pencil marks, so exactly what you use
902them for is up to you: you can use them as reminders that a
903particular square needs to be re-examined once you know more about a
904particular number, or you can use them as lists of the possible
905numbers in a given square, or anything else you feel like.
906
907To erase a single pencil mark, right-click in the square and type
908the same number again.
909
910All pencil marks in a square are erased when you left-click and type
911a number, or when you left-click and press space. Right-clicking and
912pressing space will also erase pencil marks.
913
1d8e8ad8 914(All the actions described in \k{common-actions} are also available.)
915
916\H{solo-parameters} \I{parameters, for Solo}Solo parameters
917
918Solo allows you to configure two separate dimensions of the puzzle
6ae37301 919grid on the \q{Type} menu: the number of columns, and the number of
920rows, into which the main grid is divided. (The size of a block is
921the inverse of this: for example, if you select 2 columns and 3 rows,
922each actual block will have 3 columns and 2 rows.)
1d8e8ad8 923
ef57b17d 924You can also configure the type of symmetry shown in the generated
925puzzles. More symmetry makes the puzzles look prettier but may also
926make them easier, since the symmetry constraints can force more
927clues than necessary to be present. Completely asymmetric puzzles
928have the freedom to contain as few clues as possible.
929
7c568a48 930Finally, you can configure the difficulty of the generated puzzles.
931Difficulty levels are judged by the complexity of the techniques of
932deduction required to solve the puzzle: each level requires a mode
933of reasoning which was not necessary in the previous one. In
934particular, on difficulty levels \q{Trivial} and \q{Basic} there
935will be a square you can fill in with a single number at all times,
936whereas at \q{Intermediate} level and beyond you will have to make
937partial deductions about the \e{set} of squares a number could be in
e28d0584 938(or the set of numbers that could be in a square).
939\#{Advanced, Extreme?}
940At \q{Unreasonable} level, even this is not enough, and you will
de60d8bd 941eventually have to make a guess, and then backtrack if it turns out
942to be wrong.
7c568a48 943
c65d92ac 944Generating difficult puzzles is itself difficult: if you select one
945of the higher difficulty levels, Solo may have to make many attempts
946at generating a puzzle before it finds one hard enough for you. Be
947prepared to wait, especially if you have also configured a large
948puzzle size.
7c568a48 949
ef57b17d 950
7959b517 951\C{mines} \i{Mines}
952
953\cfg{winhelp-topic}{games.mines}
954
955You have a grid of covered squares, some of which contain mines, but
956you don't know which. Your job is to uncover every square which does
957\e{not} contain a mine. If you uncover a square containing a mine,
958you lose. If you uncover a square which does not contain a mine, you
959are told how many mines are contained within the eight surrounding
960squares.
961
962This game needs no introduction; popularised by Windows, it is
963perhaps the single best known desktop puzzle game in existence.
964
965This version of it has an unusual property. By default, it will
966generate its mine positions in such a way as to ensure that you
967never need to \e{guess} where a mine is: you will always be able to
968deduce it somehow. So you will never, as can happen in other
969versions, get to the last four squares and discover that there are
970two mines left but you have no way of knowing for sure where they
971are.
972
973\H{mines-controls} \I{controls, for Mines}Mines controls
974
975This game is played with the mouse.
976
977If you left-click in a covered square, it will be uncovered.
978
979If you right-click in a covered square, it will place a flag which
980indicates that the square is believed to be a mine. Left-clicking in
981a marked square will not uncover it, for safety. You can right-click
982again to remove a mark placed in error.
983
984If you left-click in an \e{uncovered} square, it will \q{clear
985around} the square. This means: if the square has exactly as many
986flags surrounding it as it should have mines, then all the covered
987squares next to it which are \e{not} flagged will be uncovered. So
988once you think you know the location of all the mines around a
989square, you can use this function as a shortcut to avoid having to
990click on each of the remaining squares one by one.
991
992If you uncover a square which has \e{no} mines in the surrounding
993eight squares, then it is obviously safe to uncover those squares in
994turn, and so on if any of them also has no surrounding mines. This
995will be done for you automatically; so sometimes when you uncover a
996square, a whole new area will open up to be explored.
997
11d31eb9 998All the actions described in \k{common-actions} are also available.
999
7959b517 1000Even Undo is available, although you might consider it cheating to
11d31eb9 1001use it. If you step on a mine, the program will only reveal the mine
1002in question (unlike most other implementations, which reveal all of
1003them). You can then Undo your fatal move and continue playing if you
1004like. The program will track the number of times you died (and Undo
1005will not reduce that counter), so when you get to the end of the
1006game you know whether or not you did it without making any errors.
1007
1008(If you really want to know the full layout of the grid, which other
1009implementations will show you after you die, you can always use the
1010Solve menu option.)
7959b517 1011
1012\H{mines-parameters} \I{parameters, for Mines}Mines parameters
1013
1014The options available from the \q{Custom...} option on the \q{Type}
1015menu are:
1016
1017\dt \e{Width}, \e{Height}
1018
1019\dd Size of grid in squares.
1020
1021\dt \e{Mines}
1022
08781119 1023\dd Number of mines in the grid. You can enter this as an absolute
1024mine count, or alternatively you can put a \cw{%} sign on the end in
1025which case the game will arrange for that proportion of the squares
1026in the grid to be mines.
1027
1028\lcont{
1029
1030Beware of setting the mine count too high. At very high densities,
1031the program may spend forever searching for a solvable grid.
1032
1033}
7959b517 1034
1035\dt \e{Ensure solubility}
1036
1037\dd When this option is enabled (as it is by default), Mines will
1038ensure that the entire grid can be fully deduced starting from the
1039initial open space. If you prefer the riskier grids generated by
1040other implementations, you can switch off this option.
1041
1042
6bbab0fe 1043\C{samegame} \i{Same Game}
1044
1045\cfg{winhelp-topic}{games.samegame}
1046
1047You have a grid of coloured squares, which you have to clear by
209ab5a7 1048highlighting contiguous regions of more than one coloured square;
6bbab0fe 1049the larger the region you highlight, the more points you get (and
1050the faster you clear the arena).
1051
1052If you clear the grid you win. If you end up with nothing but
209ab5a7 1053single squares (i.e., there are no more clickable regions left) you
6bbab0fe 1054lose.
1055
1056Removing a region causes the rest of the grid to shuffle up:
1057blocks that are suspended will fall down (first), and then empty
1058columns are filled from the right.
1059
6bbab0fe 1060Same Game was contributed to this collection by James Harvey.
1061
209ab5a7 1062\H{samegame-controls} \i{Same Game controls}
1063
1064\IM{Same Game controls} controls, for Same Game
1065\IM{Same Game controls} keys, for Same Game
1066\IM{Same Game controls} shortcuts (keyboard), for Same Game
1067
1068This game can be played with either the keyboard or the mouse.
6bbab0fe 1069
1070If you left-click an unselected region, it becomes selected (possibly
1071clearing the current selection).
1072
1073If you left-click the selected region, it will be removed (and the
1074rest of the grid shuffled immediately).
1075
1076If you right-click the selected region, it will be unselected.
1077
209ab5a7 1078The cursor keys move a cursor around the grid. Pressing the Space or
1079Enter keys while the cursor is in an unselected region selects it;
1080pressing Space or Enter again removes it as above.
1081
e28d0584 1082(All the actions described in \k{common-actions} are also available.)
1083
6bbab0fe 1084\H{samegame-parameters} \I{parameters, for Same Game}Same Game parameters
1085
209ab5a7 1086These parameters are available from the \q{Custom...} option on the
1087\q{Type} menu.
1088
6bbab0fe 1089\dt \e{Width}, \e{Height}
1090
1091\dd Size of grid in squares.
1092
1093\dt \e{No. of colours}
1094
1095\dd Number of different colours used to fill the grid; the more colours,
209ab5a7 1096the fewer large regions of colour and thus the more difficult it is to
1097successfully clear the grid.
1098
1099\dt \e{Scoring system}
1100
1101\dd Controls the precise mechanism used for scoring. With the default
1102system, \q{(n-2)^2}, only regions of three squares or more will score
1103any points at all. With the alternative \q{(n-1)^2} system, regions of
1104two squares score a point each, and larger regions score relatively
1105more points.
6bbab0fe 1106
e4a7ab56 1107\dt \e{Ensure solubility}
1108
1109\dd If this option is ticked (the default state), generated grids
1110will be guaranteed to have at least one solution.
1111
1112\lcont{
1113
1114If you turn it off, the game generator will not try to guarantee
1115soluble grids; it will, however, still ensure that there are at
1116least 2 squares of each colour on the grid at the start (since a
1117grid with exactly one square of a given colour is \e{definitely}
1118insoluble). Grids generated with this option disabled may contain
1119more large areas of contiguous colour, leading to opportunities for
1120higher scores; they can also take less time to generate.
1121
1122}
1123
f4afe206 1124
1125\C{flip} \i{Flip}
1126
1127\cfg{winhelp-topic}{games.flip}
1128
1129You have a grid of squares, some light and some dark. Your aim is to
1130light all the squares up at the same time. You can choose any square
1131and flip its state from light to dark or dark to light, but when you
1132do so, other squares around it change state as well.
1133
1134Each square contains a small diagram showing which other squares
1135change when you flip it.
1136
d6acbe63 1137\H{flip-controls} \i{Flip controls}
f4afe206 1138
1139\IM{Flip controls} controls, for Flip
1140\IM{Flip controls} keys, for Flip
1141\IM{Flip controls} shortcuts (keyboard), for Flip
1142
33317d37 1143This game can be played with either the keyboard or the mouse.
1144
1145Left-click in a square to flip it and its associated squares, or
1146use the cursor keys to choose a square and the space bar or Enter
1147key to flip.
79cb09e9 1148
5f6050b4 1149If you use the \q{Solve} function on this game, it will mark some of
1150the squares in red. If you click once in every square with a red
1151mark, the game should be solved. (If you click in a square
1152\e{without} a red mark, a red mark will appear in it to indicate
1153that you will need to reverse that operation to reach the solution.)
f4afe206 1154
e28d0584 1155(All the actions described in \k{common-actions} are also available.)
1156
f4afe206 1157\H{flip-parameters} \I{parameters, for flip}Flip parameters
1158
1159These parameters are available from the \q{Custom...} option on the
1160\q{Type} menu.
1161
1162\dt \e{Width}, \e{Height}
1163
1164\dd Size of grid in squares.
1165
1166\dt \e{Shape type}
1167
1168\dd This control determines the shape of the region which is flipped
1169by clicking in any given square. The default setting, \q{Crosses},
1170causes every square to flip itself and its four immediate neighbours
1171(or three or two if it's at an edge or corner). The other setting,
1172\q{Random}, causes a random shape to be chosen for every square, so
1173the game is different every time.
1174
1175
c6203e43 1176\C{guess} \i{Guess}
1177
1178\cfg{winhelp-topic}{games.guess}
1179
1180You have a set of coloured pegs, and have to reproduce a
1181predetermined sequence of them (chosen by the computer) within a
1182certain number of guesses.
1183
1184Each guess gets marked with the number of correctly-coloured pegs
9ffde3e8 1185in the correct places (in black), and also the number of
1186correctly-coloured pegs in the wrong places (in white).
c6203e43 1187
1188This game is also known (and marketed, by Hasbro, mainly) as
bb219ea1 1189a board game \q{\i{Mastermind}}, with 6 colours, 4 pegs per row,
1190and 10 guesses. However, this version allows custom settings of number
1191of colours (up to 10), number of pegs per row, and number of guesses.
c6203e43 1192
64455a5a 1193Guess was contributed to this collection by James Harvey.
1194
c6203e43 1195\H{guess-controls} \i{Guess controls}
1196
1197\IM{Guess controls} controls, for Guess
1198\IM{Guess controls} keys, for Guess
1199\IM{Guess controls} shortcuts (keyboard), for Guess
1200
9ffde3e8 1201This game can be played with either the keyboard or the mouse.
1202
9c63a011 1203With the mouse, drag a coloured peg from the tray on the left-hand
1204side to its required position in the current guess; pegs may also be
1205dragged from current and past guesses to copy them elsewhere. To
1206remove a peg, drag it off its current position to somewhere invalid.
c6203e43 1207
9ffde3e8 1208Right-clicking in the current guess adds a \q{hold} marker; pegs
c6203e43 1209that have hold markers will be automatically added to the next guess
1210after marking.
1211
9ffde3e8 1212Alternatively, with the keyboard, the up and down cursor keys can be
1213used to select a peg colour, the left and right keys to select a
9c63a011 1214peg position, and the space bar or Enter key to place a peg of the
59dae0db 1215selected colour in the chosen position. \q{D} or Backspace removes a
1216peg, and \q{H} adds a hold marker.
9ffde3e8 1217
9c63a011 1218When the guess is complete, the smaller feedback pegs will be highlighted;
9ffde3e8 1219clicking on these (or moving the peg cursor to them with the arrow keys
9c63a011 1220and pressing the space bar or Enter key) will mark the current guess,
1221copy any held pegs to the next guess, and move the \q{current guess}
1222marker.
c6203e43 1223
1224If you correctly position all the pegs the solution will be displayed
9ffde3e8 1225below; if you run out of guesses (or select \q{Solve...}) the solution
9c63a011 1226will also be revealed.
c6203e43 1227
e28d0584 1228(All the actions described in \k{common-actions} are also available.)
1229
13b443e3 1230\H{guess-parameters} \I{parameters, for Guess}Guess parameters
c6203e43 1231
1232These parameters are available from the \q{Custom...} option on the
1233\q{Type} menu. The default game matches the parameters for the
9ffde3e8 1234board game \q{Mastermind}.
c6203e43 1235
1236\dt \e{Colours}
1237
1238\dd Number of colours the solution is chosen from; from 2 to 10
1239(more is harder).
1240
1241\dt \e{Pegs per guess}
1242
1243\dd Number of pegs per guess (more is harder).
1244
1245\dt \e{Guesses}
1246
1247\dd Number of guesses you have to find the solution in (fewer is harder).
1248
1249\dt \e{Allow blanks}
1250
1251\dd Allows blank pegs to be given as part of a guess (makes it easier, because
1252you know that those will never be counted as part of the solution). This
1253is turned off by default.
1254
1255Note that this doesn't allow blank pegs in the solution; if you really wanted
1256that, use one extra colour.
1257
1258\dt \e{Allow duplicates}
1259
1260\dd Allows the solution (and the guesses) to contain colours more than once;
1261this increases the search space (making things harder), and is turned on by
1262default.
1263
1264
13b443e3 1265\C{pegs} \i{Pegs}
1266
1267\cfg{winhelp-topic}{games.pegs}
1268
1269A number of pegs are placed in holes on a board. You can remove a
33a3deb2 1270peg by jumping an adjacent peg over it (horizontally or vertically)
1271to a vacant hole on the other side. Your aim is to remove all but one
1272of the pegs initially present.
13b443e3 1273
e28d0584 1274This game, best known as \I{Solitaire, Peg}\q{Peg Solitaire}, is
1275possibly one of the oldest puzzle games still commonly known.
13b443e3 1276
1277\H{pegs-controls} \i{Pegs controls}
1278
1279\IM{Pegs controls} controls, for Pegs
1280
1281To move a peg, drag it with the mouse from its current position to
1282its final position. If the final position is exactly two holes away
1283from the initial position, is currently unoccupied by a peg, and
1284there is a peg in the intervening square, the move will be permitted
1285and the intervening peg will be removed.
1286
1287Vacant spaces which you can move a peg into are marked with holes. A
1288space with no peg and no hole is not available for moving at all: it
1289is an obstacle which you must work around.
1290
e28d0584 1291(All the actions described in \k{common-actions} are also available.)
13b443e3 1292
1293\H{pegs-parameters} \I{parameters, for Pegs}Pegs parameters
1294
1295These parameters are available from the \q{Custom...} option on the
1296\q{Type} menu.
1297
1298\dt \e{Width}, \e{Height}
1299
1300\dd Size of grid in holes.
1301
1302\dt \e{Board type}
1303
1304\dd Controls whether you are given a board of a standard shape or a
1305randomly generated shape. The two standard shapes currently
1306supported are \q{Cross} and \q{Octagon} (also commonly known as the
1307English and European traditional board layouts respectively).
1308Selecting \q{Random} will give you a different board shape every
1309time (but always one that is known to have a solution).
1310
1311
6c04c334 1312\C{dominosa} \i{Dominosa}
1313
1314\cfg{winhelp-topic}{games.dominosa}
1315
f1010613 1316A normal set of dominoes \dash that is, one instance of every
1317(unordered) pair of numbers from 0 to 6 \dash has been arranged
1318irregularly into a rectangle; then the number in each square has
1319been written down and the dominoes themselves removed. Your task is
1320to reconstruct the pattern by arranging the set of dominoes to match
1321the provided array of numbers.
6c04c334 1322
1323This puzzle is widely credited to O. S. Adler, and takes part of its
1324name from those initials.
1325
1326\H{dominosa-controls} \i{Dominosa controls}
1327
1328\IM{Dominosa controls} controls, for Dominosa
1329
1330Left-clicking between any two adjacent numbers places a domino
1331covering them, or removes one if it is already present. Trying to
1332place a domino which overlaps existing dominoes will remove the ones
1333it overlaps.
1334
1335Right-clicking between two adjacent numbers draws a line between
1336them, which you can use to remind yourself that you know those two
1337numbers are \e{not} covered by a single domino. Right-clicking again
1338removes the line.
1339
e28d0584 1340(All the actions described in \k{common-actions} are also available.)
6c04c334 1341
1342\H{dominosa-parameters} \I{parameters, for Dominosa}Dominosa parameters
1343
1344These parameters are available from the \q{Custom...} option on the
1345\q{Type} menu.
1346
1347\dt \e{Maximum number on dominoes}
1348
1349\dd Controls the size of the puzzle, by controlling the size of the
1350set of dominoes used to make it. Dominoes with numbers going up to N
1351will give rise to an (N+2) \by (N+1) rectangle; so, in particular,
1352the default value of 6 gives an 8\by\.7 grid.
1353
1354\dt \e{Ensure unique solution}
1355
1356\dd Normally, Dominosa will make sure that the puzzles it presents
1357have only one solution. Puzzles with ambiguous sections can be more
1358difficult and sometimes more subtle, so if you like you can turn off
1359this feature. Also, finding \e{all} the possible solutions can be an
1360additional challenge for an advanced player. Turning off this option
1361can also speed up puzzle generation.
1362
1363
9d6c3859 1364\C{untangle} \i{Untangle}
1365
1366\cfg{winhelp-topic}{games.untangle}
1367
1368You are given a number of points, some of which have lines drawn
1369between them. You can move the points about arbitrarily; your aim is
1370to position the points so that no line crosses another.
1371
1372I originally saw this in the form of a Flash game called \i{Planarity}
1373\k{Planarity}, written by John Tantalo.
1374
1375\B{Planarity} \W{http://home.cwru.edu/~jnt5/Planarity}\cw{http://home.cwru.edu/~jnt5/Planarity}
1376
1377\H{untangle-controls} \i{Untangle controls}
1378
1379\IM{Untangle controls} controls, for Untangle
1380
1381To move a point, click on it with the left mouse button and drag it
1382into a new position.
1383
e28d0584 1384(All the actions described in \k{common-actions} are also available.)
1385
9d6c3859 1386\H{untangle-parameters} \I{parameters, for Untangle}Untangle parameters
1387
1388There is only one parameter available from the \q{Custom...} option
1389on the \q{Type} menu:
1390
1391\dt \e{Number of points}
1392
1393\dd Controls the size of the puzzle, by specifying the number of
1394points in the generated graph.
1395
1396
bf7ebf5a 1397\C{blackbox} \i{Black Box}
1398
1399\cfg{winhelp-topic}{games.blackbox}
1400
1401A number of balls are hidden in a rectangular arena. You have to
1402deduce the positions of the balls by firing lasers from positions
1403on the edge of the arena and observing how they are deflected.
1404
1405Lasers will fire straight until they hit the opposite side of the
1406arena (at which point they emerge), unless affected by balls in one of
1407the following ways:
1408
1409\b A laser that hits a ball head-on is absorbed and will never re-emerge.
1410 This includes lasers that meet a ball on the first rank of the arena.
1411
1412\b A laser with a ball to its front-left square gets deflected 90 degrees
1413 to the right.
1414
1415\b A laser with a ball to its front-right square gets similarly deflected
1416 to the left.
1417
1418\b A laser that would re-emerge from the entry location is considered to be
ebf54ec9 1419 \q{reflected}.
bf7ebf5a 1420
a4c9750f 1421\b A laser which would get deflected before entering the arena (down the
1422 \q{firing range}) by a ball to the front-left or front-right of its
1423 entry point is also considered to be \q{reflected}.
bf7ebf5a 1424
ebf54ec9 1425Lasers that are reflected appear as a \q{R}; lasers that hit balls
1426dead-on appear as \q{H}. Otherwise, a number appears at the firing point
bf7ebf5a 1427and the location where the laser emerges (this number is unique to
1428that shot).
1429
1430You can place guesses as to the location of the balls, based on the
1431entry and exit patterns of the lasers; once you have placed enough
1432balls a button appears enabling you to have your guesses checked.
1433
1434Here is a diagram showing how the positions of balls can create each
1435of the laser behaviours shown above:
1436
1437\c 1RHR----
1438\c |..O.O...|
1439\c 2........3
1440\c |........|
1441\c |........|
1442\c 3........|
1443\c |......O.|
1444\c H........|
1445\c |.....O..|
1446\c 12-RH---
1447
1448As shown, it is possible for a ball to receive multiple reflections
1449before re-emerging (see turn 3). Similarly, a ball may be reflected
ebf54ec9 1450(possibly more than once) before receiving a hit (the \q{H} on the
bf7ebf5a 1451left side of the example).
1452
1453Note that any layout with more that 4 balls may have a non-unique
1454solution. The following diagram illustrates this; if you know the
1455board contains 5 balls, it is impossible to determine where the fifth
1456ball is (possible positions marked with an x):
1457
1458\c --------
1459\c |........|
1460\c |........|
1461\c |..O..O..|
1462\c |...xx...|
1463\c |...xx...|
1464\c |..O..O..|
1465\c |........|
1466\c |........|
1467\c --------
1468
1469For this reason when you have your guesses checked the game will
1470check that your solution \e{produces the same results} as the
1471computer's, rather than that your solution is identical to the
1472computer's. So in the above example, you could put the fifth ball at
1473\e{any} of the locations marked with an x, and you would still win.
1474
1475Black Box was contributed to this collection by James Harvey.
1476
1477\H{blackbox-controls} \i{Black Box controls}
1478
1479\IM{Black Box controls}controls, for Black Box
1480
1481To fire a laser, left-click in a square around the side of the arena.
1482The results will be displayed immediately. Lasers may not be fired
1483twice (because the results will never change). Holding down the left
1484button will highlight the current go (or a previous go) to confirm the
1485exit point for that laser, if applicable.
1486
1487To guess the location of a ball, left-click within the arena and a
1488black circle will appear marking the guess; to remove the guessed ball
1489click again.
1490
1491Locations in the arena may be locked against modification by
1492right-clicking; whole rows and columns may be similarly locked by
1493right-clicking in the laser firing range above/below that column, or
1494to the left/right of that row.
1495
1496When an appropriate number of balls have been guessed a button will
a4c9750f 1497appear at the top-left corner of the grid; clicking that will mark
bf7ebf5a 1498your guesses.
1499
27388471 1500If you click the \q{mark} button and your guesses are not correct,
1501the game will show you as little information as possible to
1502demonstrate this to you, so you can try again. If your ball
1503positions are not consistent with the laser paths you already know
1504about, one laser path will be circled to indicate that it proves you
1505wrong. If your positions match all the existing laser paths but are
1506still wrong, one new laser path will be revealed (written in red)
1507which is not consistent with your current guesses.
1508
1509If you decide to give up completely, you can select Solve to reveal
1510the actual ball positions. At this point, correctly-placed balls
1511will be displayed as filled black circles; incorrectly-placed balls
1512are displayed as filled black circles with red crosses, and missing
1513balls are filled red circles. In addition, a red circle marks any
1514laser you had already fired which is not consistent with your ball
1515layout (just as when you press the mark button), and red text marks
bf7ebf5a 1516any laser you \e{could} have fired in order to distinguish your ball
1517layout from the right one.
1518
1519(All the actions described in \k{common-actions} are also available.)
1520
1521\H{blackbox-parameters} \I{parameters, for Black Box}Black Box parameters
1522
1523These parameters are available from the \q{Custom...} option on the
1524\q{Type} menu.
1525
1526\dt \e{Width}, \e{Height}
1527
ebf54ec9 1528\dd Size of grid in squares. There are 2 \by \e{Width} \by \e{Height} lasers
bf7ebf5a 1529per grid, two per row and two per column.
1530
1531\dt \e{No. of balls}
1532
1533\dd Number of balls to place in the grid. This can be a single number,
ebf54ec9 1534or a range (separated with a hyphen, like \q{2-6}), and determines the
1535number of balls to place on the grid. The \q{reveal} button is only
bf7ebf5a 1536enabled if you have guessed an appropriate number of balls; a guess
1537using a different number to the original solution is still acceptable,
1538if all the laser inputs and outputs match.
1539
1540
f1010613 1541\C{slant} \i{Slant}
1542
1543\cfg{winhelp-topic}{games.slant}
1544
1545You have a grid of squares. Your aim is to draw a diagonal line
1546through each square, and choose which way each line slants so that
1547the following conditions are met:
1548
1549\b The diagonal lines never form a loop.
1550
1551\b Any point with a circled number has precisely that many lines
1552meeting at it. (Thus, a 4 is the centre of a cross shape, whereas a
1553zero is the centre of a diamond shape \dash or rather, a partial
1554diamond shape, because a zero can never appear in the middle of the
1555grid because that would immediately cause a loop.)
1556
1557Credit for this puzzle goes to \i{Nikoli} \k{nikoli-slant}.
1558
1559\B{nikoli-slant}
1560\W{http://www.nikoli.co.jp/puzzles/39/index.htm}\cw{http://www.nikoli.co.jp/puzzles/39/index.htm}
1561(in Japanese)
1562
f1010613 1563\H{slant-controls} \i{Slant controls}
1564
1565\IM{Slant controls} controls, for Slant
f1010613 1566
1567Left-clicking in a blank square will place a \cw{\\} in it (a line
1568leaning to the left, i.e. running from the top left of the square to
1569the bottom right). Right-clicking in a blank square will place a
1570\cw{/} in it (leaning to the right, running from top right to bottom
1571left).
1572
1573Continuing to click either button will cycle between the three
1574possible square contents. Thus, if you left-click repeatedly in a
1575blank square it will change from blank to \cw{\\} to \cw{/} back to
1576blank, and if you right-click repeatedly the square will change from
1577blank to \cw{/} to \cw{\\} back to blank. (Therefore, you can play
1578the game entirely with one button if you need to.)
1579
1580(All the actions described in \k{common-actions} are also available.)
1581
e3478a4b 1582\H{slant-parameters} \I{parameters, for Slant}Slant parameters
f1010613 1583
1584These parameters are available from the \q{Custom...} option on the
1585\q{Type} menu.
1586
1587\dt \e{Width}, \e{Height}
1588
1589\dd Size of grid in squares.
1590
15164c74 1591\dt \e{Difficulty}
1592
1593\dd Controls the difficulty of the generated puzzle. At Hard level,
1594you are required to do deductions based on knowledge of
1595\e{relationships} between squares rather than always being able to
1596deduce the exact contents of one square at a time. (For example, you
1597might know that two squares slant in the same direction, even if you
1598don't yet know what that direction is, and this might enable you to
1599deduce something about still other squares.) Even at Hard level,
1600guesswork and backtracking should never be necessary.
1601
f1010613 1602
e3478a4b 1603\C{lightup} \i{Light Up}
1604
1605\cfg{winhelp-topic}{games.lightup}
1606
1607You have a grid of squares. Some are filled in black; some of the
1608black squares are numbered. Your aim is to \q{light up} all the
1609empty squares by placing light bulbs in some of them.
1610
1611Each light bulb illuminates the square it is on, plus all squares in
1612line with it horizontally or vertically unless a black square is
1613blocking the way.
1614
1615To win the game, you must satisfy the following conditions:
1616
1617\b All non-black squares are lit.
1618
1619\b No light is lit by another light.
1620
1621\b All numbered black squares have exactly that number of lights adjacent to
1622 them (in the four squares above, below, and to the side).
1623
1624Non-numbered black squares may have any number of lights adjacent to them.
1625
1626Credit for this puzzle goes to \i{Nikoli} \k{nikoli-lightup}.
1627
1628Light Up was contributed to this collection by James Harvey.
1629
1630\B{nikoli-lightup}
1631\W{http://www.nikoli.co.jp/puzzles/32/index-e.htm}\cw{http://www.nikoli.co.jp/puzzles/32/index-e.htm}
1632(beware of Flash)
1633
1634\H{lightup-controls} \i{Light Up controls}
1635
1636\IM{Light Up controls} controls, for Light Up
e3478a4b 1637
1638Left-clicking in a non-black square will toggle the presence of a light
1639in that square. Right-clicking in a non-black square toggles a mark there to aid
1640solving; it can be used to highlight squares that cannot be lit, for example.
1641
1642You may not place a light in a marked square, nor place a mark in a lit square.
1643
1644The game will highlight obvious errors in red. Lights lit by other
1645lights are highlighted in this way, as are numbered squares which
1646do not (or cannot) have the right number of lights next to them.
1647
1648Thus, the grid is solved when all non-black squares have yellow
1649highlights and there are no red lights.
1650
e28d0584 1651(All the actions described in \k{common-actions} are also available.)
e3478a4b 1652
1653\H{lightup-parameters} \I{parameters, for Light Up}Light Up parameters
1654
1655These parameters are available from the \q{Custom...} option on the
1656\q{Type} menu.
1657
1658\dt \e{Width}, \e{Height}
1659
1660\dd Size of grid in squares.
1661
1662\dt \e{%age of black squares}
1663
1664\dd Rough percentage of black squares in the grid.
1665
1666\lcont{
1667
1668This is a hint rather than an instruction. If the grid generator is
1669unable to generate a puzzle to this precise specification, it will
1670increase the proportion of black squares until it can.
1671
1672}
1673
1674\dt \e{Symmetry}
1675
1676\dd Allows you to specify the required symmetry of the black squares
1677in the grid. (This does not affect the difficulty of the puzzles
1678noticeably.)
1679
1680\dt \e{Difficulty}
1681
1682\dd \q{Easy} means that the puzzles should be soluble without
1683backtracking or guessing, \q{Hard} means that some guesses will
1684probably be necessary.
1685
1686
c51c7de6 1687\C{map} \i{Map}
1688
1689\cfg{winhelp-topic}{games.map}
1690
1691You are given a map consisting of a number of regions. Your task is
1692to colour each region with one of four colours, in such a way that
1693no two regions sharing a boundary have the same colour. You are
1694provided with some regions already coloured, sufficient to make the
1695remainder of the solution unique.
1696
1697Only regions which share a length of border are required to be
1698different colours. Two regions which meet at only one \e{point}
1699(i.e. are diagonally separated) may be the same colour.
1700
1701I believe this puzzle is original; I've never seen an implementation
bb219ea1 1702of it anywhere else. The concept of a \i{four-colouring} puzzle was
c51c7de6 1703suggested by Owen Dunn; credit must also go to Nikoli and to Verity
1704Allan for inspiring the train of thought that led to me realising
1705Owen's suggestion was a viable puzzle. Thanks also to Gareth Taylor
1706for many detailed suggestions.
1707
c51c7de6 1708\H{map-controls} \i{Map controls}
1709
1710\IM{Map controls} controls, for Map
c51c7de6 1711
1cdd1306 1712To colour a region, click the left mouse button on an existing
1713region of the desired colour and drag that colour into the new
1714region.
c51c7de6 1715
1716(The program will always ensure the starting puzzle has at least one
1717region of each colour, so that this is always possible!)
1718
1719If you need to clear a region, you can drag from an empty region, or
1720from the puzzle boundary if there are no empty regions left.
1721
1cdd1306 1722Dragging a colour using the \e{right} mouse button will stipple the
1723region in that colour, which you can use as a note to yourself that
1724you think the region \e{might} be that colour. A region can contain
1725stipples in multiple colours at once. (This is often useful at the
1726harder difficulty levels.)
1727
e857e161 1728If you press L during play, the game will toggle display of a number
1729in each region of the map. This is useful if you want to discuss a
1730particular puzzle instance with a friend \dash having an unambiguous
1731name for each region is much easier than trying to refer to them all
1732by names such as \q{the one down and right of the brown one on the
1733top border}.
1734
e28d0584 1735(All the actions described in \k{common-actions} are also available.)
c51c7de6 1736
1737\H{map-parameters} \I{parameters, for Map}Map parameters
1738
1739These parameters are available from the \q{Custom...} option on the
1740\q{Type} menu.
1741
1742\dt \e{Width}, \e{Height}
1743
1744\dd Size of grid in squares.
1745
1746\dt \e{Regions}
1747
1748\dd Number of regions in the generated map.
1749
1750\dt \e{Difficulty}
1751
1752\dd In \q{Easy} mode, there should always be at least one region
1cdd1306 1753whose colour can be determined trivially. In \q{Normal} and \q{Hard}
1754modes, you will have to use increasingly complex logic to deduce the
1755colour of some regions. However, it will always be possible without
1756having to guess or backtrack.
c51c7de6 1757
b3728d72 1758\lcont{
1759
1760In \q{Unreasonable} mode, the program will feel free to generate
1761puzzles which are as hard as it can possibly make them: the only
1762constraint is that they should still have a unique solution. Solving
1763Unreasonable puzzles may require guessing and backtracking.
1764
1765}
1766
c51c7de6 1767
6193da8d 1768\C{loopy} \i{Loopy}
1769
1770\cfg{winhelp-topic}{games.loopy}
1771
1772You are given a grid of dots. Your aim is to draw a single unbroken
1773loop from dot to dot within the grid.
1774
1775Some of the square spaces between the dots contain numbers. These
1776numbers indicate how many of the four edges of that square are part
1777of the loop. The loop you draw must correctly satisfy all of these
1778clues to be considered a correct solution.
1779
1780Credit for this puzzle goes to \i{Nikoli} \k{nikoli-loopy}.
1781
1782Loopy was contributed to this collection by Mike Pinna.
1783
1784\B{nikoli-loopy}
1785\W{http://www.nikoli.co.jp/puzzles/3/index-e.htm}\cw{http://www.nikoli.co.jp/puzzles/3/index-e.htm}
1786(beware of Flash)
1787
6193da8d 1788\H{loopy-controls} \i{Loopy controls}
1789
1790\IM{Loopy controls} controls, for Loopy
6193da8d 1791
1792Click the left mouse button between two dots to add a line segment
1793connecting them. Click again to remove that line segment.
1794
1795If you are sure that a particular line segment is \e{not} part of
1796the loop, you can click the right mouse button to add a small cross
1797indicating this. Click again to remove the cross.
1798
e28d0584 1799(All the actions described in \k{common-actions} are also available.)
6193da8d 1800
1801\H{loopy-parameters} \I{parameters, for Loopy}Loopy parameters
1802
1803These parameters are available from the \q{Custom...} option on the
1804\q{Type} menu.
1805
1806\dt \e{Width}, \e{Height}
1807
1808\dd Size of grid in squares.
1809
550742c1 1810\dt \e{Difficulty}
6193da8d 1811
550742c1 1812\dd Controls the difficulty of the generated puzzle.
1813\#{FIXME: what distinguishes Easy, Medium, and Hard? In particular,
1814when are backtracking/guesswork required, if ever?}
6193da8d 1815
1816
81eef9aa 1817\C{inertia} \i{Inertia}
1818
1819\cfg{winhelp-topic}{games.inertia}
1820
1821You are a small green ball sitting in a grid full of obstacles. Your
1822aim is to collect all the gems without running into any mines.
1823
1824You can move the ball in any orthogonal \e{or diagonal} direction.
1825Once the ball starts moving, it will continue until something stops
1826it. A wall directly in its path will stop it (but if it is moving
1827diagonally, it will move through a diagonal gap between two other
1828walls without stopping). Also, some of the squares are \q{stops};
1829when the ball moves on to a stop, it will stop moving no matter what
1830direction it was going in. Gems do \e{not} stop the ball; it picks
1831them up and keeps on going.
1832
1833Running into a mine is fatal. Even if you picked up the last gem in
1834the same move which then hit a mine, the game will count you as dead
1835rather than victorious.
1836
1837This game was originally implemented for Windows by Ben Olmstead
1838\k{bem}, who was kind enough to release his source code on request
1839so that it could be re-implemented for this collection.
1840
1841\B{bem} \W{http://xn13.com/}\cw{http://xn13.com/}
1842
1843\H{inertia-controls} \i{Inertia controls}
1844
1845\IM{Inertia controls} controls, for Inertia
1846\IM{Inertia controls} keys, for Inertia
1847\IM{Inertia controls} shortcuts (keyboard), for Inertia
1848
1849You can move the ball in any of the eight directions using the
1850numeric keypad. Alternatively, if you click the left mouse button on
1851the grid, the ball will begin a move in the general direction of
1852where you clicked.
1853
8b5b08f7 1854If you use the \q{Solve} function on this game, the program will
1855compute a path through the grid which collects all the remaining
1856gems and returns to the current position. A hint arrow will appear
1857on the ball indicating the direction in which you should move to
1858begin on this path. If you then move in that direction, the arrow
1859will update to indicate the next direction on the path. You can also
1860press Space to automatically move in the direction of the hint
1861arrow. If you move in a different direction from the one shown by
1862the arrow, the hint arrows will stop appearing because you have
1863strayed from the provided path; you can then use \q{Solve} again to
1864generate a new path if you want to.
1865
81eef9aa 1866All the actions described in \k{common-actions} are also available.
1867In particular, if you do run into a mine and die, you can use the
1868Undo function and resume playing from before the fatal move. The
1869game will keep track of the number of times you have done this.
1870
1871\H{inertia-parameters} \I{parameters, for Inertia}Inertia parameters
1872
1873These parameters are available from the \q{Custom...} option on the
1874\q{Type} menu.
1875
1876\dt \e{Width}, \e{Height}
1877
1878\dd Size of grid in squares.
1879
1880
86e60e3d 1881\C{tents} \i{Tents}
1882
1883\cfg{winhelp-topic}{games.tents}
1884
1885You have a grid of squares, some of which contain trees. Your aim is
1886to place tents in some of the remaining squares, in such a way that
1887the following conditions are met:
1888
1889\b There are exactly as many tents as trees.
1890
1891\b The tents and trees can be matched up in such a way that each
1892tent is directly adjacent (horizontally or vertically, but not
1893diagonally) to its own tree. However, a tent may be adjacent to
1894other trees as well as its own.
1895
1896\b No two tents are adjacent horizontally, vertically \e{or
1897diagonally}.
1898
1899\b The number of tents in each row, and in each column, matches the
1900numbers given round the sides of the grid.
1901
1902This puzzle can be found in several places on the Internet, and was
1903brought to my attention by e-mail. I don't know who I should credit
1904for inventing it.
1905
1906\H{tents-controls} \i{Tents controls}
1907
1908\IM{Tents controls} controls, for Tents
1909
1910Left-clicking in a blank square will place a tent in it.
1911Right-clicking in a blank square will colour it green, indicating
1912that you are sure it \e{isn't} a tent. Clicking either button in an
1913occupied square will clear it.
1914
565394e7 1915If you \e{drag} with the right button along a row or column, every
1916blank square in the region you cover will be turned green, and no
1917other squares will be affected. (This is useful for clearing the
1918remainder of a row once you have placed all its tents.)
1919
86e60e3d 1920(All the actions described in \k{common-actions} are also available.)
1921
1922\H{tents-parameters} \I{parameters, for Tents}Tents parameters
1923
1924These parameters are available from the \q{Custom...} option on the
1925\q{Type} menu.
1926
1927\dt \e{Width}, \e{Height}
1928
1929\dd Size of grid in squares.
1930
1931\dt \e{Difficulty}
1932
1933\dd Controls the difficulty of the generated puzzle. More difficult
1934puzzles require more complex deductions, but at present none of the
1935available difficulty levels requires guesswork or backtracking.
1936
1937
e7c63b02 1938\C{bridges} \i{Bridges}
1939
1940\cfg{winhelp-topic}{games.bridges}
1941
1942You have a set of islands distributed across the playing area. Each
1943island contains a number. Your aim is to connect the islands
1944together with bridges, in such a way that:
1945
1946\b Bridges run horizontally or vertically.
1947
1948\b The number of bridges terminating at any island is equal to the
1949number written in that island.
1950
1951\b Two bridges may run in parallel between the same two islands, but
1952no more than two may do so.
1953
1954\b No bridge crosses another bridge.
1955
1956\b All the islands are connected together.
1957
1958There are some configurable alternative modes, which involve
1959changing the parallel-bridge limit to something other than 2, and
1960introducing the additional constraint that no sequence of bridges
1961may form a loop from one island back to the same island. The rules
1962stated above are the default ones.
1963
1964Credit for this puzzle goes to \i{Nikoli} \k{nikoli-bridges}.
1965
1966Bridges was contributed to this collection by James Harvey.
1967
1968\B{nikoli-bridges}
1969\W{http://www.nikoli.co.jp/puzzles/14/index-e.htm}\cw{http://www.nikoli.co.jp/puzzles/14/index-e.htm}
1970
1971\H{bridges-controls} \i{Bridges controls}
1972
1973\IM{Bridges controls} controls, for Bridges
1974
1975To place a bridge between two islands, click the mouse down on one
1976island and drag it towards the other. You do not need to drag all
1977the way to the other island; you only need to move the mouse far
1978enough for the intended bridge direction to be unambiguous. (So you
1979can keep the mouse near the starting island and conveniently throw
1980bridges out from it in many directions.)
1981
1982Doing this again when a bridge is already present will add another
1983parallel bridge. If there are already as many bridges between the
1984two islands as permitted by the current game rules (i.e. two by
1985default), the same dragging action will remove all of them.
1986
1987If you want to remind yourself that two islands definitely \e{do
1988not} have a bridge between them, you can right-drag between them in
1989the same way to draw a \q{non-bridge} marker.
1990
1991If you think you have finished with an island (i.e. you have placed
1992all its bridges and are confident that they are in the right
1993places), you can mark the island as finished by left-clicking on it.
1994This will highlight it and all the bridges connected to it, and you
1995will be prevented from accidentally modifying any of those bridges
1996in future. Left-clicking again on a highlighted island will unmark
1997it and restore your ability to modify it.
1998
1999Violations of the puzzle rules will be marked in red:
2000
2001\b An island with too many bridges will be highlighted in red.
2002
2003\b An island with too few bridges will be highlighted in red if it
2004is definitely an error (as opposed to merely not being finished
2005yet): if adding enough bridges would involve having to cross another
2006bridge or remove a non-bridge marker, or if the island has been
2007highlighted as complete.
2008
2009\b A group of islands and bridges may be highlighted in red if it is
2010a closed subset of the puzzle with no way to connect it to the rest
2011of the islands. For example, if you directly connect two 1s together
2012with a bridge and they are not the only two islands on the grid,
2013they will light up red to indicate that such a group cannot be
2014contained in any valid solution.
2015
2016\b If you have selected the (non-default) option to disallow loops
2017in the solution, a group of bridges which forms a loop will be
2018highlighted.
2019
2020(All the actions described in \k{common-actions} are also available.)
2021
2022\H{bridges-parameters} \I{parameters, for Bridges}Bridges parameters
2023
2024These parameters are available from the \q{Custom...} option on the
2025\q{Type} menu.
2026
2027\dt \e{Width}, \e{Height}
2028
2029\dd Size of grid in squares.
2030
2031\dt \e{Difficulty}
2032
2033\dd Difficulty level of puzzle.
2034
2035\dt \e{Allow loops}
2036
2037\dd This is set by default. If cleared, puzzles will be generated in
2038such a way that they are always soluble without creating a loop, and
2039solutions which do involve a loop will be disallowed.
2040
2041\dt \e{Max. bridges per direction}
2042
2043\dd Maximum number of bridges in any particular direction. The
2044default is 2, but you can change it to 1, 3 or 4. In general, fewer
2045is easier.
2046
2047\dt \e{%age of island squares}
2048
2049\dd Gives a rough percentage of islands the generator will try and
2050lay before finishing the puzzle. Certain layouts will not manage to
2051lay enough islands; this is an upper bound.
2052
2053\dt \e{Expansion factor (%age)}
2054
2055\dd The grid generator works by picking an existing island at random
2056(after first creating an initial island somewhere). It then decides
2057on a direction (at random), and then works out how far it could
2058extend before creating another island. This parameter determines how
2059likely it is to extend as far as it can, rather than choosing
2060somewhere closer.
2061
2062High expansion factors usually mean easier puzzles with fewer
2063possible islands; low expansion factors can create lots of
2064tightly-packed islands.
2065
2066
e91825f8 2067\A{licence} \I{MIT licence}\ii{Licence}
2068
390cfad8 2069This software is \i{copyright} 2004-2006 Simon Tatham.
e91825f8 2070
6193da8d 2071Portions copyright Richard Boulton, James Harvey and Mike Pinna.
e91825f8 2072
2073Permission is hereby granted, free of charge, to any person
2074obtaining a copy of this software and associated documentation files
2075(the "Software"), to deal in the Software without restriction,
2076including without limitation the rights to use, copy, modify, merge,
2077publish, distribute, sublicense, and/or sell copies of the Software,
2078and to permit persons to whom the Software is furnished to do so,
2079subject to the following conditions:
2080
2081The above copyright notice and this permission notice shall be
2082included in all copies or substantial portions of the Software.
2083
2084THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
2085EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2086MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
2087NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
2088BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
2089ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2090CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2091SOFTWARE.
2092
3c9388ef 2093\IM{command-line}{command line} command line
2094
bb219ea1 2095\IM{default parameters, specifying} default parameters, specifying
2096\IM{default parameters, specifying} preferences, specifying default
2097
2098\IM{Unix} Unix
2099\IM{Unix} Linux
2100
2101\IM{generating game IDs} generating game IDs
2102\IM{generating game IDs} game ID, generating
2103
1185e3c5 2104\IM{specific} \q{Specific}, menu option
2105\IM{custom} \q{Custom}, menu option
e91825f8 2106
2107\IM{game ID} game ID
2108\IM{game ID} ID, game
2109\IM{ID format} ID format
2110\IM{ID format} format, ID
2111\IM{ID format} game ID, format
2112
2113\IM{keys} keys
2114\IM{keys} shortcuts (keyboard)
2115
2116\IM{initial state} initial state
2117\IM{initial state} state, initial
2118
2119\IM{MIT licence} MIT licence
2120\IM{MIT licence} licence, MIT