From 881746789a489fad85aae8317555f73dbe261556 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sat, 29 Apr 2017 18:21:56 -0400 Subject: puzzles: refactor and resync with upstream This brings puzzles up-to-date with upstream revision 2d333750272c3967cfd5cd3677572cddeaad5932, though certain changes made by me, including cursor-only Untangle and some compilation fixes remain. Upstream code has been moved to its separate subdirectory and future syncs can be done by simply copying over the new sources. Change-Id: Ia6506ca5f78c3627165ea6791d38db414ace0804 --- apps/plugins/puzzles/src/twiddle.html | 63 +++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 apps/plugins/puzzles/src/twiddle.html (limited to 'apps/plugins/puzzles/src/twiddle.html') 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 @@ + + + + +Twiddle + + + + + + + +

Previous | Contents | Index | Next

+

Chapter 7: Twiddle

+

+Twiddle is a tile-rearrangement puzzle, visually similar to Sixteen (see chapter 6): you are given a grid of square tiles, each containing a number, and your aim is to arrange the numbers into ascending order. +

+

+In 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. +

+

+I first saw this type of puzzle in the GameCube game ‘Metroid Prime 2’. 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. +

+

7.1 Twiddle controls

+

+To play Twiddle, click the mouse in the centre of the square group you wish to rotate. In the basic mode, you rotate a 2×2 square, which means you have to click at a corner point where four tiles meet. +

+

+In more advanced modes you might be rotating 3×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. +

+

+Clicking with the left mouse button rotates the group anticlockwise. Clicking with the right button rotates it clockwise. +

+

+You can also move an outline square around the grid with the cursor keys; the square is the size above (2×2 by default, or larger). Pressing the return key or space bar will rotate the current square anticlockwise or clockwise respectively. +

+

+(All the actions described in section 2.1 are also available.) +

+

7.2 Twiddle parameters

+

+Twiddle provides several configuration options via the ‘Custom’ option on the ‘Type’ menu: +

+ + +
+ -- cgit v1.2.3