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

Previous | Contents | Index | Next

+

Chapter 23: Loopy

+

+You are given a grid of dots, marked with yellow lines to indicate which dots you are allowed to connect directly together. Your aim is to use some subset of those yellow lines to draw a single unbroken loop from dot to dot within the grid. +

+

+Some of the spaces between the lines contain numbers. These numbers indicate how many of the lines around that space form part of the loop. The loop you draw must correctly satisfy all of these clues to be considered a correct solution. +

+

+In the default mode, the dots are arranged in a grid of squares; however, you can also play on triangular or hexagonal grids, or even more exotic ones. +

+

+Credit for the basic puzzle idea goes to Nikoli [10]. +

+

+Loopy was originally contributed to this collection by Mike Pinna, and subsequently enhanced to handle various types of non-square grid by Lambros Lambrou. +

+

+[10] http://www.nikoli.co.jp/en/puzzles/slitherlink.html (beware of Flash) +

+

23.1 Loopy controls

+

+Click the left mouse button on a yellow line to turn it black, indicating that you think it is part of the loop. Click again to turn the line yellow again (meaning you aren't sure yet). +

+

+If you are sure that a particular line segment is not part of the loop, you can click the right mouse button to remove it completely. Again, clicking a second time will turn the line back to yellow. +

+

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

+

23.2 Loopy parameters

+

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

+
+Width, Height +
+
+Size of grid, measured in number of regions across and down. For square grids, it's clear how this is counted; for other types of grid you may have to think a bit to see how the dimensions are measured. +
+
+Grid type +
+
+Allows you to choose between a selection of types of tiling. Some have all the faces the same but may have multiple different types of vertex (e.g. the Cairo or Kites mode); others have all the vertices the same but may have different types of face (e.g. the Great Hexagonal). The square, triangular and honeycomb grids are fully regular, and have all their vertices and faces the same; this makes them the least confusing to play. +
+
+Difficulty +
+
+Controls the difficulty of the generated puzzle. +
+
+ +
+ -- cgit v1.2.3