diff options
author | Franklin Wei <git@fwei.tk> | 2017-04-29 18:21:56 -0400 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2017-04-29 18:24:42 -0400 |
commit | 881746789a489fad85aae8317555f73dbe261556 (patch) | |
tree | cec2946362c4698c8db3c10f3242ef546c2c22dd /apps/plugins/puzzles/src/html/towers.html | |
parent | 03dd4b92be7dcd5c8ab06da3810887060e06abd5 (diff) | |
download | rockbox-881746789a489fad85aae8317555f73dbe261556.tar.gz rockbox-881746789a489fad85aae8317555f73dbe261556.zip |
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
Diffstat (limited to 'apps/plugins/puzzles/src/html/towers.html')
-rw-r--r-- | apps/plugins/puzzles/src/html/towers.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/src/html/towers.html b/apps/plugins/puzzles/src/html/towers.html new file mode 100644 index 0000000000..a710e0ab6e --- /dev/null +++ b/apps/plugins/puzzles/src/html/towers.html | |||
@@ -0,0 +1,22 @@ | |||
1 | Towers | ||
2 | <p> | ||
3 | Fill in the grid with towers whose heights range from 1 to the grid | ||
4 | size, so that every possible height appears exactly once in each row | ||
5 | and column, and so that each clue around the edge counts the number | ||
6 | of towers that are visible when looking into the grid from that | ||
7 | direction. (Taller towers hide shorter ones behind them. So the | ||
8 | sequence 2,1,4,3,5 would match a clue of 3 on the left, because the | ||
9 | 1 is hidden behind the 2 and the 3 is hidden behind the 4. On the | ||
10 | right, it would match a clue of 1 because the 5 hides everything | ||
11 | else.) | ||
12 | <p> | ||
13 | To place a tower, click in a square to select it, then type the | ||
14 | desired height on the keyboard. To erase a tower, click to select a | ||
15 | square and then press Backspace. | ||
16 | <p> | ||
17 | Right-click in a square and then type a number to add or remove the | ||
18 | number as a pencil mark, indicating tower heights that you think | ||
19 | <em>might</em> go in that square. | ||
20 | <p> | ||
21 | Left-click on a clue to mark it as done (grey it out). To unmark a | ||
22 | clue as done, left-click on it again. \ No newline at end of file | ||