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/galaxies.html | 60 ++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 apps/plugins/puzzles/src/galaxies.html (limited to 'apps/plugins/puzzles/src/galaxies.html') diff --git a/apps/plugins/puzzles/src/galaxies.html b/apps/plugins/puzzles/src/galaxies.html new file mode 100644 index 0000000000..41c32c1b1e --- /dev/null +++ b/apps/plugins/puzzles/src/galaxies.html @@ -0,0 +1,60 @@ + + + + +Galaxies + + + + + + + +

Previous | Contents | Index | Next

+

Chapter 28: Galaxies

+

+You have a rectangular grid containing a number of dots. Your aim is to draw edges along the grid lines which divide the rectangle into regions in such a way that every region is 180° rotationally symmetric, and contains exactly one dot which is located at its centre of symmetry. +

+

+This puzzle was invented by Nikoli [13], under the name ‘Tentai Show’; its name is commonly translated into English as ‘Spiral Galaxies’. +

+

+Galaxies was contributed to this collection by James Harvey. +

+

+[13] http://www.nikoli.co.jp/en/puzzles/astronomical_show.html +

+

28.1 Galaxies controls

+

+Left-click on any grid line to draw an edge if there isn't one already, or to remove one if there is. When you create a valid region (one which is closed, contains exactly one dot, is 180° symmetric about that dot, and contains no extraneous edges inside it) it will be highlighted automatically; so your aim is to have the whole grid highlighted in that way. +

+

+During solving, you might know that a particular grid square belongs to a specific dot, but not be sure of where the edges go and which other squares are connected to the dot. In order to mark this so you don't forget, you can right-click on the dot and drag, which will create an arrow marker pointing at the dot. Drop that in a square of your choice and it will remind you which dot it's associated with. You can also right-click on existing arrows to pick them up and move them, or destroy them by dropping them off the edge of the grid. (Also, if you're not sure which dot an arrow is pointing at, you can pick it up and move it around to make it clearer. It will swivel constantly as you drag it, to stay pointed at its parent dot.) +

+

+You can also use the cursor keys to move around the grid squares and lines. Pressing the return key when over a grid line will draw or clear its edge, as above. Pressing the return key when over a dot will pick up an arrow, to be dropped the next time the return key is pressed; this can also be used to move existing arrows around, removing them by dropping them on a dot or another arrow. +

+

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

+

28.2 Galaxies parameters

+

+These parameters are available from the ‘Custom...’ option on the ‘Type’ menu. +

+
+Width, Height +
+
+Size of grid in squares. +
+
+Difficulty +
+
+Controls the difficulty of the generated puzzle. More difficult puzzles require more complex deductions, and the ‘Unreasonable’ difficulty level may require backtracking. +
+
+ +
+ -- cgit v1.2.3