blob: a75a88997aa01d3544561a4b2de41d80d9e75300 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
/* auto-generated by genhelp.sh */
/* DO NOT EDIT! */
const char help_text[] =
"#Chapter 21: Light Up "
"\n"
"You have a grid of squares. Some are filled in black; some of the "
"black squares are numbered. Your aim is to `light up' all the empty "
"squares by placing light bulbs in some of them. "
"\n"
"Each light bulb illuminates the square it is on, plus all squares "
"in line with it horizontally or vertically unless a black square is "
"blocking the way. "
"\n"
"To win the game, you must satisfy the following conditions: "
"\n"
"- All non-black squares are lit. "
"\n"
"- No light is lit by another light. "
"\n"
"- All numbered black squares have exactly that number of lights "
"adjacent to them (in the four squares above, below, and to the "
"side). "
"\n"
"Non-numbered black squares may have any number of lights adjacent to "
"them. "
"\n"
"Credit for this puzzle goes to Nikoli [9]. "
"\n"
"Light Up was contributed to this collection by James Harvey. "
"\n"
"[9] http://www.nikoli.co.jp/en/puzzles/akari.html (beware of Flash) "
"\n"
"\n#21.1 Light Up controls "
"\n"
"Left-clicking in a non-black square will toggle the presence of a "
"light in that square. Right-clicking in a non-black square toggles a "
"mark there to aid solving; it can be used to highlight squares that "
"cannot be lit, for example. "
"\n"
"You may not place a light in a marked square, nor place a mark in a "
"lit square. "
"\n"
"The game will highlight obvious errors in red. Lights lit by other "
"lights are highlighted in this way, as are numbered squares which do "
"not (or cannot) have the right number of lights next to them. "
"\n"
"Thus, the grid is solved when all non-black squares have yellow "
"highlights and there are no red lights. "
"\n"
"(All the actions described in section 2.1 are also available.) "
"\n"
"\n#21.2 Light Up parameters "
"\n"
"These parameters are available from the `Custom...' option on the "
"`Type' menu. "
"\n"
"_Width_, _Height_ "
"\n"
"Size of grid in squares. "
"\n"
"_%age of black squares_ "
"\n"
"Rough percentage of black squares in the grid. "
"\n"
"This is a hint rather than an instruction. If the grid generator "
"is unable to generate a puzzle to this precise specification, it "
"will increase the proportion of black squares until it can. "
"\n"
"_Symmetry_ "
"\n"
"Allows you to specify the required symmetry of the black squares "
"in the grid. (This does not affect the difficulty of the puzzles "
"noticeably.) "
"\n"
"_Difficulty_ "
"\n"
"`Easy' means that the puzzles should be soluble without "
"backtracking or guessing, `Hard' means that some guesses will "
"probably be necessary. "
"\n"
;
const char quick_help_text[] = "Place bulbs to light up all the squares.";
|