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

Previous | Contents | Index | Next

+

Chapter 29: Filling

+

+You have a grid of squares, some of which contain digits, and the rest of which are empty. Your job is to fill in digits in the empty squares, in such a way that each connected region of squares all containing the same digit has an area equal to that digit. +

+

+(‘Connected region’, for the purposes of this game, does not count diagonally separated squares as adjacent.) +

+

+For example, it follows that no square can contain a zero, and that two adjacent squares can not both contain a one. No region has an area greater than 9 (because then its area would not be a single digit). +

+

+Credit for this puzzle goes to Nikoli [14]. +

+

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

+

+[14] http://www.nikoli.co.jp/en/puzzles/fillomino.html +

+

29.1 Filling controls

+

+To play Filling, simply click the mouse in any empty square and then type a digit on the keyboard to fill that square. By dragging the mouse, you can select multiple squares to fill with a single keypress. If you make a mistake, click the mouse in the incorrect square and press 0, Space, Backspace or Enter to clear it again (or use the Undo feature). +

+

+You can also move around the grid with the cursor keys; typing a digit will fill the square containing the cursor with that number; typing 0 will clear it. You can also select multiple squares for numbering or clearing with the return and arrow keys, before typing a digit to fill or clear the highlighted squares (as above). The space bar adds and removes single squares to and from the selection. Backspace and escape remove all squares from the selection. +

+

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

+

29.2 Filling parameters

+

+Filling allows you to configure the number of rows and columns of the grid, through the ‘Type’ menu. +

+ +
+ -- cgit v1.2.3