Cleanups:

- fix documentation of Net's unique solution option (should have
   tested before last checkin)
 - make unique solutions optional in Rectangles too (same reasons)
 - tidy up various issues in parameter encoding in both games.

[originally from svn r5818]
This commit is contained in:
Simon Tatham
2005-05-21 13:39:23 +00:00
parent 862e25c90b
commit f3ba6f8bce
3 changed files with 63 additions and 23 deletions

View File

@ -346,15 +346,6 @@ barrier is placed between two tiles to prevent flow between them (a
higher number gives more barriers). Since barriers are immovable, they
act as constraints on the solution (i.e., hints).
\dt \e{Ensure unique solution}
\dd Normally, Net will make sure that the puzzles it presents have
only one solution. Puzzles with ambiguous sections can be more
difficult and more subtle, so if you like you can turn off this
feature and risk having ambiguous puzzles. (Also, finding \e{all}
the possible solutions can be an additional challenge for an
advanced player.)
\lcont{
The grid generation in Net has been carefully arranged so that the
@ -370,6 +361,15 @@ from the original Net window.
}
\dt \e{Ensure unique solution}
\dd Normally, Net will make sure that the puzzles it presents have
only one solution. Puzzles with ambiguous sections can be more
difficult and more subtle, so if you like you can turn off this
feature and risk having ambiguous puzzles. (Also, finding \e{all}
the possible solutions can be an additional challenge for an
advanced player.)
\C{cube} \i{Cube}
\cfg{winhelp-topic}{games.cube}
@ -613,15 +613,23 @@ When a rectangle of the correct size is completed, it will be shaded.
\H{rectangles-params} \I{parameters, for Rectangles}Rectangles parameters
The \q{Custom...} option on the \q{Type} menu offers you \e{Width}
and \e{Height} parameters, which are self-explanatory.
These parameters are available from the \q{Custom...} option on the
\q{Type} menu.
\q{Expansion factor} is a mechanism for changing the type of grids
generated by the program. Some people prefer a grid containing a few
large rectangles to one containing many small ones. So you can ask
\dt \e{Width}, \e{Height}
\dd Size of grid, in squares.
\dt \e{Expansion factor}
\dd This is a mechanism for changing the type of grids generated by
the program. Some people prefer a grid containing a few large
rectangles to one containing many small ones. So you can ask
Rectangles to essentially generate a \e{smaller} grid than the size
you specified, and then to expand it by adding rows and columns.
\lcont{
The default expansion factor of zero means that Rectangles will
simply generate a grid of the size you ask for, and do nothing
further. If you set an expansion factor of (say) 0.5, it means that
@ -636,6 +644,17 @@ and more intuitive playing style. If you set it \e{too} high,
though, the game simply cannot generate more than a few rectangles
to cover the entire grid, and the game becomes trivial.
}
\dt \e{Ensure unique solution}
\dd Normally, Rectangles will make sure that the puzzles it presents
have only one solution. Puzzles with ambiguous sections can be more
difficult and more subtle, so if you like you can turn off this
feature and risk having ambiguous puzzles. Also, finding \e{all} the
possible solutions can be an additional challenge for an advanced
player. Turning off this option can also speed up puzzle generation.
\C{netslide} \i{Netslide}