summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/twiddle.html
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/puzzles/src/twiddle.html')
-rw-r--r--apps/plugins/puzzles/src/twiddle.html63
1 files changed, 63 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/src/twiddle.html b/apps/plugins/puzzles/src/twiddle.html
new file mode 100644
index 0000000000..244ce45144
--- /dev/null
+++ b/apps/plugins/puzzles/src/twiddle.html
@@ -0,0 +1,63 @@
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2"http://www.w3.org/TR/html4/strict.dtd">
3<html>
4<head>
5<meta http-equiv="content-type" content="text/html; charset=US-ASCII">
6<title>Twiddle</title>
7<link rel="previous" href="sixteen.html">
8<link rel="ToC" href="index.html">
9<link rel="up" href="index.html">
10<link rel="index" href="docindex.html">
11<link rel="next" href="rect.html">
12</head>
13<body>
14<p><a href="sixteen.html">Previous</a> | <a href="index.html">Contents</a> | <a href="docindex.html">Index</a> | <a href="rect.html">Next</a></p>
15<h1><a name="C7"></a>Chapter 7: <a name="i0"></a>Twiddle</h1>
16<p>
17Twiddle is a tile-rearrangement puzzle, visually similar to Sixteen (see <a href="sixteen.html#C6">chapter 6</a>): you are given a grid of square tiles, each containing a number, and your aim is to arrange the numbers into ascending order.
18</p>
19<p>
20In basic Twiddle, your move is to rotate a square group of four tiles about their common centre. (Orientation is not significant in the basic puzzle, although you can select it.) On more advanced settings, you can rotate a larger square group of tiles.
21</p>
22<p>
23I first saw this type of puzzle in the GameCube game &#8216;Metroid Prime 2&#8217;. In the Main Gyro Chamber in that game, there is a puzzle you solve to unlock a door, which is a special case of Twiddle. I developed this game as a generalisation of that puzzle.
24</p>
25<h2><a name="S7.1"></a>7.1 <a name="i1"></a>Twiddle controls</h2>
26<p>
27To play Twiddle, click the mouse in the centre of the square group you wish to rotate. In the basic mode, you rotate a 2&#215;2 square, which means you have to click at a corner point where four tiles meet.
28</p>
29<p>
30In more advanced modes you might be rotating 3&#215;3 or even more at a time; if the size of the square is odd then you simply click in the centre tile of the square you want to rotate.
31</p>
32<p>
33Clicking with the left mouse button rotates the group anticlockwise. Clicking with the right button rotates it clockwise.
34</p>
35<p>
36You can also move an outline square around the grid with the cursor keys; the square is the size above (2&#215;2 by default, or larger). Pressing the return key or space bar will rotate the current square anticlockwise or clockwise respectively.
37</p>
38<p>
39(All the actions described in <a href="common.html#S2.1">section 2.1</a> are also available.)
40</p>
41<h2><a name="S7.2"></a>7.2 <a name="i2"></a>Twiddle parameters</h2>
42<p>
43Twiddle provides several configuration options via the &#8216;Custom&#8217; option on the &#8216;Type&#8217; menu:
44</p>
45<ul><li>
46You can configure the width and height of the puzzle grid.
47</li>
48<li>
49You can configure the size of square block that rotates at a time.
50</li>
51<li>
52You can ask for every square in the grid to be distinguishable (the default), or you can ask for a simplified puzzle in which there are groups of identical numbers. In the simplified puzzle your aim is just to arrange all the 1s into the first row, all the 2s into the second row, and so on.
53</li>
54<li>
55You can configure whether the orientation of tiles matters. If you ask for an orientable puzzle, each tile will have a triangle drawn in it. All the triangles must be pointing upwards to complete the puzzle.
56</li>
57<li>
58You can ask for a limited shuffling operation to be performed on the grid. By default, Twiddle will shuffle the grid so much that any arrangement is about as probable as any other. You can override this by requesting a precise number of shuffling moves to be performed. Typically your aim is then to determine the precise set of shuffling moves and invert them exactly, so that you answer (say) a four-move shuffle with a four-move solution. Note that the more moves you ask for, the more likely it is that solutions shorter than the target length will turn out to be possible.
59</li>
60</ul>
61
62<hr><address></address></body>
63</html>