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

Previous | Contents | Index | Next

+

Chapter 35: Range

+

+You have a grid of squares; some squares contain numbers. Your job is to colour some of the squares black, such that several criteria are satisfied: +

+ +

+For instance, a square containing the number one must have four black squares as its neighbours by the last criterion; but then it's impossible for it to be connected to any outside white square, which violates the second to last criterion. So no square will contain the number one. +

+

+Credit for this puzzle goes to Nikoli, who have variously called it ‘Kurodoko’, ‘Kuromasu’ or ‘Where is Black Cells’. [18]. +

+

+Range was contributed to this collection by Jonas Kölker. +

+

+[18] http://www.nikoli.co.jp/en/puzzles/where_is_black_cells.html +

+

35.1 Range controls

+

+Click with the left button to paint a square black, or with the right button to mark a square with a dot to indicate that you are sure it should not be painted black. Repeated clicking with either button will cycle the square through the three possible states (filled, dotted or empty) in opposite directions. +

+

+You can also use the cursor keys to move around the grid squares. Pressing Return does the same as clicking with the left button, while pressing Space does the same as a right button click. Moving with the cursor keys while holding Shift will place dots in all squares that are moved through. +

+

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

+

35.2 Range parameters

+

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

+
+Width, Height +
+
+Size of grid in squares. +
+
+ +
+ -- cgit v1.2.3