summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/help/cube.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/puzzles/help/cube.c')
-rw-r--r--apps/plugins/puzzles/help/cube.c58
1 files changed, 58 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/help/cube.c b/apps/plugins/puzzles/help/cube.c
new file mode 100644
index 0000000000..86ffbb681d
--- /dev/null
+++ b/apps/plugins/puzzles/help/cube.c
@@ -0,0 +1,58 @@
1/* auto-generated by genhelp.sh */
2/* DO NOT EDIT! */
3const char help_text[] =
4"#Chapter 4: Cube "
5"\n"
6"This is another one I originally saw as a web game. This one was a "
7"Java game [2], by Paul Scott. You have a grid of 16 squares, six of "
8"which are blue; on one square rests a cube. Your move is to use the "
9"arrow keys to roll the cube through 90 degrees so that it moves to "
10"an adjacent square. If you roll the cube on to a blue square, the "
11"blue square is picked up on one face of the cube; if you roll a blue "
12"face of the cube on to a non-blue square, the blueness is put down "
13"again. (In general, whenever you roll the cube, the two faces that "
14"come into contact swap colours.) Your job is to get all six blue "
15"squares on to the six faces of the cube at the same time. Count your "
16"moves and try to do it in as few as possible. "
17"\n"
18"Unlike the original Java game, my version has an additional feature: "
19"once you've mastered the game with a cube rolling on a square grid, "
20"you can change to a triangular grid and roll any of a tetrahedron, "
21"an octahedron or an icosahedron. "
22"\n"
23"[2] http://www3.sympatico.ca/paulscott/cube/cube.htm "
24"\n"
25"\n#4.1 Cube controls "
26"\n"
27"This game can be played with either the keyboard or the mouse. "
28"\n"
29"Left-clicking anywhere on the window will move the cube (or other "
30"solid) towards the mouse pointer. "
31"\n"
32"The arrow keys can also used to roll the cube on its square grid in "
33"the four cardinal directions. On the triangular grids, the mapping "
34"of arrow keys to directions is more approximate. Vertical movement "
35"is disallowed where it doesn't make sense. The four keys surrounding "
36"the arrow keys on the numeric keypad (`7', `9', `1', `3') can be "
37"used for diagonal movement. "
38"\n"
39"(All the actions described in section 2.1 are also available.) "
40"\n"
41"\n#4.2 Cube parameters "
42"\n"
43"These parameters are available from the `Custom...' option on the "
44"`Type' menu. "
45"\n"
46"_Type of solid_ "
47"\n"
48"Selects the solid to roll (and hence the shape of the grid): "
49"tetrahedron, cube, octahedron, or icosahedron. "
50"\n"
51"_Width / top_, _Height / bottom_ "
52"\n"
53"On a square grid, horizontal and vertical dimensions. On a "
54"triangular grid, the number of triangles on the top and bottom "
55"rows respectively. "
56"\n"
57;
58const char quick_help_text[] = "Pick up all the blue squares by rolling the cube over them.";