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

Previous | Contents | Index | Next

+

Chapter 41: Palisade

+

+You're given a grid of squares, some of which contain numbers. Your goal is to subdivide the grid into contiguous regions, all of the same (given) size, such that each square containing a number is adjacent to exactly that many edges (including those between the inside and the outside of the grid). +

+

+Credit for this puzzle goes to Nikoli, who call it ‘Five Cells’. [22]. +

+

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

+

+[22] http://nikoli.co.jp/en/puzzles/five_cells.html +

+

41.1 Palisade controls

+

+Left-click to place an edge. Right-click to indicate ‘no edge’. Alternatively, the arrow keys will move a keyboard cursor. Holding Control while pressing an arrow key will place an edge. Press Shift-arrowkey to switch off an edge. Repeat an action to perform its inverse. +

+

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

+

41.2 Palisade parameters

+

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

+
+Width, Height +
+
+Size of grid in squares. +
+
+Region size +
+
+The size of the regions into which the grid must be subdivided. +
+
+ +
+ -- cgit v1.2.3