summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/help/towers.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/puzzles/help/towers.c')
-rw-r--r--apps/plugins/puzzles/help/towers.c95
1 files changed, 95 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/help/towers.c b/apps/plugins/puzzles/help/towers.c
new file mode 100644
index 0000000000..ad42bd9447
--- /dev/null
+++ b/apps/plugins/puzzles/help/towers.c
@@ -0,0 +1,95 @@
1/* auto-generated by genhelp.sh */
2/* DO NOT EDIT! */
3const char help_text[] =
4"#Chapter 31: Towers "
5"\n"
6"You have a square grid. On each square of the grid you can build "
7"a tower, with its height ranging from 1 to the size of the grid. "
8"Around the edge of the grid are some numeric clues. "
9"\n"
10"Your task is to build a tower on every square, in such a way that: "
11"\n"
12"- Each row contains every possible height of tower once "
13"\n"
14"- Each column contains every possible height of tower once "
15"\n"
16"- Each numeric clue describes the number of towers that can be "
17"seen if you look into the square from that direction, assuming "
18"that shorter towers are hidden behind taller ones. For example, "
19"in a 5x5 grid, a clue marked `5' indicates that the five tower "
20"heights must appear in increasing order (otherwise you would "
21"not be able to see all five towers), whereas a clue marked `1' "
22"indicates that the tallest tower (the one marked 5) must come "
23"first. "
24"\n"
25"In harder or larger puzzles, some towers will be specified for you "
26"as well as the clues round the edge, and some edge clues may be "
27"missing. "
28"\n"
29"This puzzle appears on the web under various names, particularly "
30"`Skyscrapers', but I don't know who first invented it. "
31"\n"
32"\n#31.1 Towers controls "
33"\n"
34"Towers shares much of its control system with Solo, Unequal and "
35"Keen. "
36"\n"
37"To play Towers, simply click the mouse in any empty square and then "
38"type a digit on the keyboard to fill that square with a tower of "
39"the given height. If you make a mistake, click the mouse in the "
40"incorrect square and press Space to clear it again (or use the Undo "
41"feature). "
42"\n"
43"If you _right_-click in a square and then type a number, that "
44"number will be entered in the square as a `pencil mark'. You can "
45"have pencil marks for multiple numbers in the same square. A square "
46"containing a tower cannot also contain pencil marks. "
47"\n"
48"The game pays no attention to pencil marks, so exactly what you "
49"use them for is up to you: you can use them as reminders that a "
50"particular square needs to be re-examined once you know more about "
51"a particular number, or you can use them as lists of the possible "
52"numbers in a given square, or anything else you feel like. "
53"\n"
54"To erase a single pencil mark, right-click in the square and type "
55"the same number again. "
56"\n"
57"All pencil marks in a square are erased when you left-click and type "
58"a number, or when you left-click and press space. Right-clicking and "
59"pressing space will also erase pencil marks. "
60"\n"
61"As for Solo, the cursor keys can be used in conjunction with the "
62"digit keys to set numbers or pencil marks. Use the cursor keys to "
63"move a highlight around the grid, and type a digit to enter it in "
64"the highlighted square. Pressing return toggles the highlight into a "
65"mode in which you can enter or remove pencil marks. "
66"\n"
67"Pressing M will fill in a full set of pencil marks in every square "
68"that does not have a main digit in it. "
69"\n"
70"Left-clicking a clue will mark it as done (grey it out), or unmark "
71"it if it is already marked. Holding Control or Shift and pressing an "
72"arrow key likewise marks any clue in the given direction. "
73"\n"
74"(All the actions described in section 2.1 are also available.) "
75"\n"
76"\n#31.2 Towers parameters "
77"\n"
78"These parameters are available from the `Custom...' option on the "
79"`Type' menu. "
80"\n"
81"_Grid size_ "
82"\n"
83"Specifies the size of the grid. Lower limit is 3; upper limit is "
84"9 (because the user interface would become more difficult with "
85"`digits' bigger than 9!). "
86"\n"
87"_Difficulty_ "
88"\n"
89"Controls the difficulty of the generated puzzle. At Unreasonable "
90"level, some backtracking will be required, but the solution "
91"should still be unique. The remaining levels require "
92"increasingly complex reasoning to avoid having to backtrack. "
93"\n"
94;
95const char quick_help_text[] = "Complete the latin square of towers in accordance with the clues.";