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/samegame.html | |
| parent | 03dd4b92be7dcd5c8ab06da3810887060e06abd5 (diff) | |
| download | rockbox-881746789a489fad85aae8317555f73dbe261556.zip rockbox-881746789a489fad85aae8317555f73dbe261556.tar.gz rockbox-881746789a489fad85aae8317555f73dbe261556.tar.bz2 rockbox-881746789a489fad85aae8317555f73dbe261556.tar.xz | |
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/samegame.html')
| -rw-r--r-- | apps/plugins/puzzles/src/samegame.html | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/src/samegame.html b/apps/plugins/puzzles/src/samegame.html new file mode 100644 index 0000000..8861e4b --- /dev/null +++ b/apps/plugins/puzzles/src/samegame.html @@ -0,0 +1,82 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" +"http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> +<meta http-equiv="content-type" content="text/html; charset=US-ASCII"> +<title>Same Game</title> +<link rel="previous" href="mines.html"> +<link rel="ToC" href="index.html"> +<link rel="up" href="index.html"> +<link rel="index" href="docindex.html"> +<link rel="next" href="flip.html"> +</head> +<body> +<p><a href="mines.html">Previous</a> | <a href="index.html">Contents</a> | <a href="docindex.html">Index</a> | <a href="flip.html">Next</a></p> +<h1><a name="C13"></a>Chapter 13: <a name="i0"></a>Same Game</h1> +<p> +You have a grid of coloured squares, which you have to clear by highlighting contiguous regions of more than one coloured square; the larger the region you highlight, the more points you get (and the faster you clear the arena). +</p> +<p> +If you clear the grid you win. If you end up with nothing but single squares (i.e., there are no more clickable regions left) you lose. +</p> +<p> +Removing a region causes the rest of the grid to shuffle up: blocks that are suspended will fall down (first), and then empty columns are filled from the right. +</p> +<p> +Same Game was contributed to this collection by James Harvey. +</p> +<h2><a name="S13.1"></a>13.1 <a name="i1"></a>Same Game controls</h2> +<p> +This game can be played with either the keyboard or the mouse. +</p> +<p> +If you left-click an unselected region, it becomes selected (possibly clearing the current selection). +</p> +<p> +If you left-click the selected region, it will be removed (and the rest of the grid shuffled immediately). +</p> +<p> +If you right-click the selected region, it will be unselected. +</p> +<p> +The cursor keys move a cursor around the grid. Pressing the Space or Enter keys while the cursor is in an unselected region selects it; pressing Space or Enter again removes it as above. +</p> +<p> +(All the actions described in <a href="common.html#S2.1">section 2.1</a> are also available.) +</p> +<h2><a name="S13.2"></a>13.2 <a name="i2"></a>Same Game parameters</h2> +<p> +These parameters are available from the ‘Custom...’ option on the ‘Type’ menu. +</p> +<dl><dt> +<em>Width</em>, <em>Height</em> +</dt> +<dd> +Size of grid in squares. +</dd> +<dt> +<em>No. of colours</em> +</dt> +<dd> +Number of different colours used to fill the grid; the more colours, the fewer large regions of colour and thus the more difficult it is to successfully clear the grid. +</dd> +<dt> +<em>Scoring system</em> +</dt> +<dd> +Controls the precise mechanism used for scoring. With the default system, ‘(n-2)^2’, only regions of three squares or more will score any points at all. With the alternative ‘(n-1)^2’ system, regions of two squares score a point each, and larger regions score relatively more points. +</dd> +<dt> +<em>Ensure solubility</em> +</dt> +<dd> +If this option is ticked (the default state), generated grids will be guaranteed to have at least one solution. +<p> +If you turn it off, the game generator will not try to guarantee soluble grids; it will, however, still ensure that there are at least 2 squares of each colour on the grid at the start (since a grid with exactly one square of a given colour is <em>definitely</em> insoluble). Grids generated with this option disabled may contain more large areas of contiguous colour, leading to opportunities for higher scores; they can also take less time to generate. +</p> + +</dd> +</dl> + +<hr><address></address></body> +</html> |