summaryrefslogtreecommitdiffstats log msg author committer range
path: root/manual/plugins/rocklife.tex
blob: 846e0b224f6650b49636d2df5c2040008e335023 (plain)
 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36  \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. \begin{btnmap} \PluginSelect \opt{HAVEREMOTEKEYMAP}{& \PluginRCSelect} & Play/pause\\ \PluginDown \opt{HAVEREMOTEKEYMAP}{& \PluginRCDown} & Change growth mode\\ \PluginRight \opt{HAVEREMOTEKEYMAP}{& \PluginRCRight} & Next generation\\ \PluginLeft \opt{HAVEREMOTEKEYMAP}{& \PluginRCLeft} & Status (only when paused)\\ \PluginCancel \opt{HAVEREMOTEKEYMAP}{& \PluginRCCancel} & Exit\\ \end{btnmap}`