chiark / gitweb /
Document hard mode in Slant, and also fix an obvious memory
authorSimon Tatham <anakin@pobox.com>
Sat, 6 Aug 2005 10:38:34 +0000 (10:38 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 6 Aug 2005 10:38:34 +0000 (10:38 +0000)
management error in game_configure().

[originally from svn r6169]

puzzles.but
slant.c

index e11ee6784c856cc7fbb983ae6e7c8fc4fc6c212e..3240bc0885c026091768a0cf88bba2f9a28c6d9d 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 38670e1e628dfdca0e75437c20c57365efe542f7..9c0b0ab5ed0e03a96e5a65df9f9ccbad7df9b283 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;