summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manual/appendix/file_formats.tex4
-rw-r--r--manual/plugins/main.tex2
-rw-r--r--manual/plugins/rocklife.tex14
3 files changed, 20 insertions, 0 deletions
diff --git a/manual/appendix/file_formats.tex b/manual/appendix/file_formats.tex
index 56999b3..e2906f4 100644
--- a/manual/appendix/file_formats.tex
+++ b/manual/appendix/file_formats.tex
@@ -68,6 +68,10 @@
& Colours & \fname{.colours} & Open the colours file for editing.
See \reference{ref:ChangingFiletypeColours}.\\
}
+\opt{lcd_bitmap}{
+ & Game of Life & \fname{.cells} & Show the configuration with the
+ ``Rocklife'' plugin\\}
+
\bottomrule
\end{tabularx}
\end{center}
diff --git a/manual/plugins/main.tex b/manual/plugins/main.tex
index 73cb0f4..5e9246a 100644
--- a/manual/plugins/main.tex
+++ b/manual/plugins/main.tex
@@ -62,6 +62,8 @@ text files%
\opt{lcd_bitmap}{\input{plugins/rockblox1d.tex}}
+\opt{lcd_bitmap}{\input{plugins/rocklife.tex}}
+
\opt{lcd_bitmap}{\input{plugins/sliding.tex}}
\opt{lcd_bitmap}{\input{plugins/snake.tex}}
diff --git a/manual/plugins/rocklife.tex b/manual/plugins/rocklife.tex
new file mode 100644
index 0000000..44e6424
--- /dev/null
+++ b/manual/plugins/rocklife.tex
@@ -0,0 +1,14 @@
+\subsection{Rocklife}
+
+This an implementation of J. H. Conway's Game of Life (see
+\url{http://en.wikipedia.org/wiki/Conway\%27s_Game_of_Life} for a detailed
+description).
+
+Rockbox can open files with a configuration description (\fname{.cells} files).
+Just ``play'' such file and the game configuration stored in it will be loaded
+into this plugin.
+
+A \fname{.cells} file is a text file. A capital `O' marks a live cell, a dot
+marks a dead cell, all other characters are ignored. Everything on a line
+starting with an exclamation sign (and including it) is a comment and is
+ignored.