summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/help/slant.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/puzzles/help/slant.c')
-rw-r--r--apps/plugins/puzzles/help/slant.c66
1 files changed, 66 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/help/slant.c b/apps/plugins/puzzles/help/slant.c
new file mode 100644
index 0000000000..c68cd7cd84
--- /dev/null
+++ b/apps/plugins/puzzles/help/slant.c
@@ -0,0 +1,66 @@
1/* auto-generated by genhelp.sh */
2/* DO NOT EDIT! */
3const char help_text[] =
4"#Chapter 20: Slant "
5"\n"
6"You have a grid of squares. Your aim is to draw a diagonal line "
7"through each square, and choose which way each line slants so that "
8"the following conditions are met: "
9"\n"
10"- The diagonal lines never form a loop. "
11"\n"
12"- Any point with a circled number has precisely that many lines "
13"meeting at it. (Thus, a 4 is the centre of a cross shape, "
14"whereas a zero is the centre of a diamond shape - or rather, a "
15"partial diamond shape, because a zero can never appear in the "
16"middle of the grid because that would immediately cause a loop.) "
17"\n"
18"Credit for this puzzle goes to Nikoli [8]. "
19"\n"
20"[8] http://www.nikoli.co.jp/ja/puzzles/gokigen_naname (in Japanese) "
21"\n"
22"\n#20.1 Slant controls "
23"\n"
24"Left-clicking in a blank square will place a \\ in it (a line leaning "
25"to the left, i.e. running from the top left of the square to the "
26"bottom right). Right-clicking in a blank square will place a / in it "
27"(leaning to the right, running from top right to bottom left). "
28"\n"
29"Continuing to click either button will cycle between the three "
30"possible square contents. Thus, if you left-click repeatedly in a "
31"blank square it will change from blank to \\ to / back to blank, and "
32"if you right-click repeatedly the square will change from blank to / "
33"to \\ back to blank. (Therefore, you can play the game entirely with "
34"one button if you need to.) "
35"\n"
36"You can also use the cursor keys to move around the grid. Pressing "
37"the return or space keys will place a \\ or a /, respectively, and "
38"will then cycle them as above. You can also press / or \\ to place a "
39"/ or \\, respectively, independent of what is already in the cursor "
40"square. Backspace removes any line from the cursor square. "
41"\n"
42"(All the actions described in section 2.1 are also available.) "
43"\n"
44"\n#20.2 Slant parameters "
45"\n"
46"These parameters are available from the `Custom...' option on the "
47"`Type' menu. "
48"\n"
49"_Width_, _Height_ "
50"\n"
51"Size of grid in squares. "
52"\n"
53"_Difficulty_ "
54"\n"
55"Controls the difficulty of the generated puzzle. At Hard "
56"level, you are required to do deductions based on knowledge of "
57"_relationships_ between squares rather than always being able to "
58"deduce the exact contents of one square at a time. (For example, "
59"you might know that two squares slant in the same direction, "
60"even if you don't yet know what that direction is, and this "
61"might enable you to deduce something about still other squares.) "
62"Even at Hard level, guesswork and backtracking should never be "
63"necessary. "
64"\n"
65;
66const char quick_help_text[] = "Draw a maze of slanting lines that matches the clues.";