summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/html/group.html
diff options
context:
space:
mode:
authorFranklin Wei <frankhwei536@gmail.com>2016-11-20 15:16:41 -0500
committerFranklin Wei <me@fwei.tk>2016-12-18 18:13:22 +0100
commit1a6a8b52f7aa4e2da6f4c34a0c743c760b8cfd99 (patch)
tree8e7f2d6b0cbdb5d15c13457b2c3e1de69f598440 /apps/plugins/puzzles/html/group.html
parent3ee79724f6fb033d50e26ef37b33d3f8cedf0c5b (diff)
downloadrockbox-1a6a8b52f7aa4e2da6f4c34a0c743c760b8cfd99.tar.gz
rockbox-1a6a8b52f7aa4e2da6f4c34a0c743c760b8cfd99.zip
Port of Simon Tatham's Puzzle Collection
Original revision: 5123b1bf68777ffa86e651f178046b26a87cf2d9 MIT Licensed. Some games still crash and others are unplayable due to issues with controls. Still need a "real" polygon filling algorithm. Currently builds one plugin per puzzle (about 40 in total, around 100K each on ARM), but can easily be made to build a single monolithic overlay (800K or so on ARM). The following games are at least partially broken for various reasons, and have been disabled on this commit: Cube: failed assertion with "Icosahedron" setting Keen: input issues Mines: weird stuff happens on target Palisade: input issues Solo: input issues, occasional crash on target Towers: input issues Undead: input issues Unequal: input and drawing issues (concave polys) Untangle: input issues Features left to do: - In-game help system - Figure out the weird bugs Change-Id: I7c69b6860ab115f973c8d76799502e9bb3d52368
Diffstat (limited to 'apps/plugins/puzzles/html/group.html')
-rw-r--r--apps/plugins/puzzles/html/group.html52
1 files changed, 52 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/html/group.html b/apps/plugins/puzzles/html/group.html
new file mode 100644
index 0000000000..c0f52de629
--- /dev/null
+++ b/apps/plugins/puzzles/html/group.html
@@ -0,0 +1,52 @@
1unfinished:Group
2<p>
3Fill in the grid with the letters shown to the top and left of it, so
4that the full grid is a valid
5<a href="http://en.wikipedia.org/wiki/Cayley_table">Cayley table</a>
6for a
7<a href="http://en.wikipedia.org/wiki/Group_(mathematics)">group</a>.
8<p>
9If you don't already know what a group is, I don't really recommend
10trying to play this game. But if you want to try anyway, the above is
11equivalent to saying that the following conditions must be satisfied:
12<ul>
13<li>
14<strong>Latin square</strong>. Every row and column must contain
15exactly one of each letter.
16<li>
17<strong>Identity</strong>. There must be some letter <i>e</i> such
18that, for all <i>a</i>, the letter in row <i>e</i> column <i>a</i> and
19the one in row <i>a</i> column <i>e</i> are both <i>a</i>. In the
20default mode, this letter is always <i>e</i> and its row and column
21are filled in for you; by reconfiguring the game using the Type menu,
22you can select a mode in which you have to work out which letter is
23the identity.
24<li>
25<strong>Inverses</strong>. For every letter <i>a</i>, there must be
26some letter <i>b</i> (which may sometimes be the same letter
27as <i>a</i>) such that the letters in row <i>a</i> column <i>b</i> and
28in row <i>b</i> column <i>a</i> are both the identity letter (as
29defined above).
30<li>
31<strong>Associativity</strong>. For every combination of
32letters <i>a</i>, <i>b</i>, and <i>c</i>, denote the letter in
33row <i>a</i> column <i>b</i> by <i>d</i>, and the one in row <i>b</i>
34column <i>c</i> by <i>e</i>. Then the letters in row <i>d</i>
35column <i>c</i> and in row <i>a</i> column <i>e</i> must be the same.
36</ul>
37<p>
38To place a letter, click in a square to select it, then type the
39letter on the keyboard. To erase a letter, click to select a square
40and then press Backspace.
41<p>
42Right-click in a square and then type a letter to add or remove the
43number as a pencil mark, indicating letters that you think
44<em>might</em> go in that square.
45<p>
46You can rearrange the order of elements in the rows and columns by
47dragging the column or row headings back and forth. (The rows and
48columns will stay in sync with each other.) Also,
49left-clicking <em>between</em> two row or column headings will add or
50remove a thick line between those two rows and the corresponding pair
51of columns (which is useful if you're considering a subgroup and its
52cosets).