diff options
Diffstat (limited to 'apps/plugins/puzzles/help/pearl.c')
-rw-r--r-- | apps/plugins/puzzles/help/pearl.c | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/help/pearl.c b/apps/plugins/puzzles/help/pearl.c new file mode 100644 index 0000000000..961c4d7db4 --- /dev/null +++ b/apps/plugins/puzzles/help/pearl.c | |||
@@ -0,0 +1,70 @@ | |||
1 | /* auto-generated by genhelp.sh */ | ||
2 | /* DO NOT EDIT! */ | ||
3 | const char help_text[] = | ||
4 | "#Chapter 36: Pearl " | ||
5 | "\n" | ||
6 | "You have a grid of squares. Your job is to draw lines between the " | ||
7 | "centres of horizontally or vertically adjacent squares, so that the " | ||
8 | "lines form a single closed loop. In the resulting grid, some of the " | ||
9 | "squares that the loop passes through will contain corners, and some " | ||
10 | "will be straight horizontal or vertical lines. (And some squares can " | ||
11 | "be completely empty - the loop doesn't have to pass through every " | ||
12 | "square.) " | ||
13 | "\n" | ||
14 | "Some of the squares contain black and white circles, which are clues " | ||
15 | "that the loop must satisfy. " | ||
16 | "\n" | ||
17 | "A black circle in a square indicates that that square is a corner, " | ||
18 | "but neither of the squares adjacent to it in the loop is also a " | ||
19 | "corner. " | ||
20 | "\n" | ||
21 | "A white circle indicates that the square is a straight edge, but _at " | ||
22 | "least one_ of the squares adjacent to it in the loop is a corner. " | ||
23 | "\n" | ||
24 | "(In both cases, the clue only constrains the two squares adjacent " | ||
25 | "_in the loop_, that is, the squares that the loop passes into after " | ||
26 | "leaving the clue square. The squares that are only adjacent _in the " | ||
27 | "grid_ are not constrained.) " | ||
28 | "\n" | ||
29 | "Credit for this puzzle goes to Nikoli, who call it `Masyu'. [19] " | ||
30 | "\n" | ||
31 | "Thanks to James Harvey for assistance with the implementation. " | ||
32 | "\n" | ||
33 | "[19] http://www.nikoli.co.jp/en/puzzles/masyu.html (beware of Flash) " | ||
34 | "\n" | ||
35 | "\n#36.1 Pearl controls " | ||
36 | "\n" | ||
37 | "Click with the left button on a grid edge to draw a segment of the " | ||
38 | "loop through that edge, or to remove a segment once it is drawn. " | ||
39 | "\n" | ||
40 | "Drag with the left button through a series of squares to draw more " | ||
41 | "than one segment of the loop in one go. Alternatively, drag over an " | ||
42 | "existing part of the loop to undraw it, or to undraw part of it and " | ||
43 | "then go in a different direction. " | ||
44 | "\n" | ||
45 | "Click with the right button on a grid edge to mark it with a cross, " | ||
46 | "indicating that you are sure the loop does not go through that edge. " | ||
47 | "(For instance, if you have decided which of the squares adjacent " | ||
48 | "to a white clue has to be a corner, but don't yet know which way " | ||
49 | "the corner turns, you might mark the one way it _can't_ go with a " | ||
50 | "cross.) " | ||
51 | "\n" | ||
52 | "Alternatively, use the cursor keys to move the cursor. Use the Enter " | ||
53 | "key to begin and end keyboard `drag' operations. Use the Space, " | ||
54 | "Escape or Backspace keys to cancel the drag. Or, hold Control while " | ||
55 | "dragging with the cursor keys to toggle segments as you move between " | ||
56 | "squares. " | ||
57 | "\n" | ||
58 | "Pressing Control-Shift-arrowkey or Shift-arrowkey simulates a left " | ||
59 | "or right click, respectively, on the edge in the direction of the " | ||
60 | "key. " | ||
61 | "\n" | ||
62 | "(All the actions described in section 2.1 are also available.) " | ||
63 | "\n" | ||
64 | "\n#36.2 Pearl parameters " | ||
65 | "\n" | ||
66 | "These parameters are available from the `Custom...' option on the " | ||
67 | "`Type' menu. " | ||
68 | "\n" | ||
69 | ; | ||
70 | const char quick_help_text[] = "Draw a single closed loop, given clues about corner and straight squares."; | ||