Document hard mode in Slant, and also fix an obvious memory
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 6 Aug 2005 10:38:34 +0000 (10:38 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 6 Aug 2005 10:38:34 +0000 (10:38 +0000)
management error in game_configure().

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@6169 cda61777-01e9-0310-a592-d414129be87e

puzzles.but
slant.c

index e11ee67..3240bc0 100644 (file)
@@ -1485,6 +1485,17 @@ These parameters are available from the \q{Custom...} option on the
 
 \dd Size of grid in squares.
 
+\dt \e{Difficulty}
+
+\dd Controls the difficulty of the generated puzzle. At Hard level,
+you are required to do deductions based on knowledge of
+\e{relationships} between squares rather than always being able to
+deduce the exact contents of one square at a time. (For example, you
+might know that two squares slant in the same direction, even if you
+don't yet know what that direction is, and this might enable you to
+deduce something about still other squares.) Even at Hard level,
+guesswork and backtracking should never be necessary.
+
 
 \C{lightup} \i{Light Up}
 
diff --git a/slant.c b/slant.c
index 38670e1..9c0b0ab 100644 (file)
--- a/slant.c
+++ b/slant.c
@@ -171,7 +171,7 @@ static config_item *game_configure(game_params *params)
     config_item *ret;
     char buf[80];
 
-    ret = snewn(2, config_item);
+    ret = snewn(4, config_item);
 
     ret[0].name = "Width";
     ret[0].type = C_STRING;