diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-08-02 23:16:46 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-08-02 23:16:46 +0000 |
| commit | afe80030e4935fdebfbed24eeae94274cb7f0632 (patch) | |
| tree | f163f05a40523832c696f7d0c69c0493059dae95 /puzzles.but | |
| parent | 207c847553a978c6fcdb6269dc2b0add3c99a109 (diff) | |
| download | puzzles-afe80030e4935fdebfbed24eeae94274cb7f0632.zip puzzles-afe80030e4935fdebfbed24eeae94274cb7f0632.tar.gz puzzles-afe80030e4935fdebfbed24eeae94274cb7f0632.tar.bz2 puzzles-afe80030e4935fdebfbed24eeae94274cb7f0632.tar.xz | |
New puzzle: `Slant', picked from the Japanese-language section of
nikoli.co.jp (which has quite a few puzzles that they don't seem to
have bothered to translate into English).
Minor structural change: the disjoint set forest code used in the
Net solver has come in handy again, so I've moved it out into its
own module dsf.c.
[originally from svn r6155]
Diffstat (limited to 'puzzles.but')
| -rw-r--r-- | puzzles.but | 74 |
1 files changed, 65 insertions, 9 deletions
diff --git a/puzzles.but b/puzzles.but index 13056d7..2c0fe87 100644 --- a/puzzles.but +++ b/puzzles.but @@ -20,6 +20,8 @@ \define{by} \u00D7{x} +\define{dash} \u2013{-} + This is a collection of small one-player puzzle games. \copyright This manual is copyright 2004-5 Simon Tatham. All rights @@ -43,9 +45,9 @@ both, and have more recently done a port to Mac OS X as well. When I find (or perhaps invent) further puzzle games that I like, they'll be added to this collection and will immediately be available on both platforms. And if anyone feels like writing any other front -ends - PocketPC, Mac OS pre-10, or whatever it might be - then all -the games in this framework will immediately become available on -another platform as well. +ends \dash PocketPC, Mac OS pre-10, or whatever it might be \dash +then all the games in this framework will immediately become +available on another platform as well. The actual games in this collection were mostly not my invention; they are re-implementations of existing game concepts within my portable @@ -1208,12 +1210,12 @@ time (but always one that is known to have a solution). \cfg{winhelp-topic}{games.dominosa} -A normal set of dominoes - that is, one instance of every (unordered) -pair of numbers from 0 to 6 - has been arranged irregularly into a -rectangle; then the number in each square has been written down and -the dominoes themselves removed. Your task is to reconstruct the -pattern by arranging the set of dominoes to match the provided array -of numbers. +A normal set of dominoes \dash that is, one instance of every +(unordered) pair of numbers from 0 to 6 \dash has been arranged +irregularly into a rectangle; then the number in each square has +been written down and the dominoes themselves removed. Your task is +to reconstruct the pattern by arranging the set of dominoes to match +the provided array of numbers. This puzzle is widely credited to O. S. Adler, and takes part of its name from those initials. @@ -1430,6 +1432,60 @@ using a different number to the original solution is still acceptable, if all the laser inputs and outputs match. +\C{slant} \i{Slant} + +\cfg{winhelp-topic}{games.slant} + +You have a grid of squares. Your aim is to draw a diagonal line +through each square, and choose which way each line slants so that +the following conditions are met: + +\b The diagonal lines never form a loop. + +\b Any point with a circled number has precisely that many lines +meeting at it. (Thus, a 4 is the centre of a cross shape, whereas a +zero is the centre of a diamond shape \dash or rather, a partial +diamond shape, because a zero can never appear in the middle of the +grid because that would immediately cause a loop.) + +Credit for this puzzle goes to \i{Nikoli} \k{nikoli-slant}. + +\B{nikoli-slant} +\W{http://www.nikoli.co.jp/puzzles/39/index.htm}\cw{http://www.nikoli.co.jp/puzzles/39/index.htm} +(in Japanese) + + +\H{slant-controls} \i{Slant controls} + +\IM{Slant controls} controls, for Slant +\IM{Slant controls} keys, for Slant +\IM{Slant controls} shortcuts (keyboard), for Slant + +Left-clicking in a blank square will place a \cw{\\} in it (a line +leaning to the left, i.e. running from the top left of the square to +the bottom right). Right-clicking in a blank square will place a +\cw{/} in it (leaning to the right, running from top right to bottom +left). + +Continuing to click either button will cycle between the three +possible square contents. Thus, if you left-click repeatedly in a +blank square it will change from blank to \cw{\\} to \cw{/} back to +blank, and if you right-click repeatedly the square will change from +blank to \cw{/} to \cw{\\} back to blank. (Therefore, you can play +the game entirely with one button if you need to.) + +(All the actions described in \k{common-actions} are also available.) + +\H{slant-parameters} \I{parameters, for slant}Slant parameters + +These parameters are available from the \q{Custom...} option on the +\q{Type} menu. + +\dt \e{Width}, \e{Height} + +\dd Size of grid in squares. + + \A{licence} \I{MIT licence}\ii{Licence} This software is \i{copyright} 2004-2005 Simon Tatham. |