2006-03-12 22:30:07 +00:00
|
|
|
\subsection{\label{ref:Sudoku}Sudoku}
|
2006-04-02 17:29:44 +00:00
|
|
|
\screenshot{plugins/images/ss-sudoku}{Sudoku}{fig:sudoku}
|
2008-10-26 15:42:48 +00:00
|
|
|
Sudoku in Rockbox can act as both a plugin and a viewer.
|
|
|
|
When starting Sudoku from the \setting{Browse Plugins} menu, a
|
2006-08-27 15:00:50 +00:00
|
|
|
random game will be generated automatically, and an estimate of its difficulty
|
2006-06-06 15:54:11 +00:00
|
|
|
(very easy, easy, medium, hard or fiendish) will be displayed on the screen.
|
|
|
|
New games can be generated from the \setting{Generate} menu option.
|
2008-10-26 15:42:48 +00:00
|
|
|
When ``playing'' an existing Sudoku game file from Rockbox' file browser
|
|
|
|
the plugin is invoked as viewer. The selected Sudoku will get loaded and you
|
|
|
|
can start solving it. The sudoku games need to be stored as text
|
|
|
|
files with the extension \fname{.ss} as single file per game.
|
2006-06-06 15:54:11 +00:00
|
|
|
|
2006-05-09 21:49:32 +00:00
|
|
|
You can create and save your own grids under the \setting{New} menu option.
|
2006-08-27 15:00:50 +00:00
|
|
|
Enter the menu (as described in the key table below) when you have finished and
|
2008-10-26 15:42:48 +00:00
|
|
|
enter the full path to save to including the \fname{.ss} extension
|
|
|
|
(e.g. \fname{/sudoku/new.ss}).
|
2006-03-12 22:30:07 +00:00
|
|
|
|
2008-10-26 15:42:48 +00:00
|
|
|
\subsubsection{The scratchpad}
|
2006-08-27 15:00:50 +00:00
|
|
|
When you play Sudoku on paper most people like to mark numbers in cells that
|
|
|
|
are possible candidates for the cells.
|
2008-10-26 15:42:48 +00:00
|
|
|
This can be done with the scratchpad, shown as separate column.
|
|
|
|
Change the number under the cursor to the number you want to put on the
|
|
|
|
scratchpad and press the scratchpad button, the number will then be added.
|
|
|
|
If the number was already on the scratchpad it will get removed again.
|
|
|
|
The column is stored seperatly for every cell on the board. The stored values
|
|
|
|
can be displayed inline as small dots by enabling the \setting{Show Markings}
|
|
|
|
settings.
|
|
|
|
\note{The scratchpad is \emph{not} saved when saving the game.}
|
2006-03-12 22:30:07 +00:00
|
|
|
|
2006-04-03 22:45:01 +00:00
|
|
|
\begin{table}
|
|
|
|
\begin{btnmap}{}{}
|
2009-05-21 11:39:22 +00:00
|
|
|
\opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD%
|
|
|
|
,SANSA_E200_PAD,SANSA_C200_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD}
|
Manual - plugin button tables: fill out missing info for the c200 pad (chip8emulator, doom, snake, snake2, wormlet), also update the table in clock.tex (was outdated for all and missing the mode and skin 'shortcuts'), add a small note about how to quit credits, change the list of the four direction buttons in some tex files (minesweeper, flipit, sudoku) so that the line can break and won't overlap, correct the position of } in rockblox.tex to not let the 'pause' line appear when it doesn't exist on a target. Break overly long lines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18535 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 23:24:31 +00:00
|
|
|
{\ButtonUp{} / \ButtonDown{} / \ButtonLeft{} / \ButtonRight}
|
|
|
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonScrollFwd{} / \ButtonScrollBack}
|
|
|
|
\opt{IRIVER_H10_PAD}{\ButtonScrollUp{} / \ButtonScrollDown{} / \ButtonLeft{} / \ButtonRight}
|
2009-07-22 18:08:51 +00:00
|
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
2006-05-09 21:49:32 +00:00
|
|
|
& Move the cursor\\
|
|
|
|
%
|
2008-11-27 20:26:50 +00:00
|
|
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect & Change cursor move direction\\}
|
|
|
|
%
|
2006-05-09 21:49:32 +00:00
|
|
|
\opt{RECORDER_PAD}{\ButtonPlay}
|
2006-12-01 02:23:42 +00:00
|
|
|
\opt{ONDIO_PAD}{\ButtonMenu}
|
Mostly cosmetic changes to some plugin descriptions in the manual: 1) In main.tex - don't mention chip8 games in the Player manual and give the correct path to the viewers directory. 2) Correct wrongly placed 'end' in zxbox.tex and remove link to the wiki as this chapter is based off of that page and there is no additional information on it. 3) Let long lists of button names break so they don't overlap with the next column in the pdf - blackjack, bubbles, demystify, flipit, logo, oscilloscope, pegbox, rockblox1d, rockblox, rockboy, sliding puzzle, snake2, solitaire, sudoku. 4) While at it, break long (code) lines in bubbles.tex. 5) Additionally exclude lines which showed only 'n/a' in the button tables for a specific target - pegbox, sokoban. 6) Use 'fname' to mark a path in disktidy.tex, also simplify the button table. 7) Use 'ButtonHold' in doom.tex.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18580 a1c6a512-1295-4272-9138-f99709370657
2008-09-23 17:25:32 +00:00
|
|
|
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonSelect{} / \ButtonOn}
|
2008-11-27 20:26:50 +00:00
|
|
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonLeft{} / \ButtonRight}
|
2009-05-21 11:39:22 +00:00
|
|
|
\opt{IAUDIO_X5_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD}{\ButtonSelect}
|
2006-10-17 14:43:39 +00:00
|
|
|
\opt{IRIVER_H10_PAD}{\ButtonRew}
|
Mostly cosmetic changes to some plugin descriptions in the manual: 1) In main.tex - don't mention chip8 games in the Player manual and give the correct path to the viewers directory. 2) Correct wrongly placed 'end' in zxbox.tex and remove link to the wiki as this chapter is based off of that page and there is no additional information on it. 3) Let long lists of button names break so they don't overlap with the next column in the pdf - blackjack, bubbles, demystify, flipit, logo, oscilloscope, pegbox, rockblox1d, rockblox, rockboy, sliding puzzle, snake2, solitaire, sudoku. 4) While at it, break long (code) lines in bubbles.tex. 5) Additionally exclude lines which showed only 'n/a' in the button tables for a specific target - pegbox, sokoban. 6) Use 'fname' to mark a path in disktidy.tex, also simplify the button table. 7) Use 'ButtonHold' in doom.tex.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18580 a1c6a512-1295-4272-9138-f99709370657
2008-09-23 17:25:32 +00:00
|
|
|
\opt{SANSA_E200_PAD}{\ButtonScrollBack{} / \ButtonScrollFwd}
|
|
|
|
\opt{SANSA_C200_PAD}{\ButtonSelect{} / \ButtonVolUp{} / \ButtonVolDown}
|
2009-07-22 18:08:51 +00:00
|
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
2006-05-09 21:49:32 +00:00
|
|
|
& Change number under the cursor\\
|
|
|
|
%
|
2007-10-07 17:59:04 +00:00
|
|
|
\opt{RECORDER_PAD}{Long \ButtonPlay}
|
|
|
|
\opt{ONDIO_PAD}{Long \ButtonMenu+\ButtonDown}
|
|
|
|
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{Long \ButtonOn}
|
2008-11-27 20:26:50 +00:00
|
|
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{Long \ButtonLeft{} / \ButtonRight}
|
2009-05-21 11:39:22 +00:00
|
|
|
\opt{IAUDIO_X5_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD}{Long \ButtonSelect}
|
2007-10-07 17:59:04 +00:00
|
|
|
\opt{IRIVER_H10_PAD}{Long \ButtonRew}
|
Mostly cosmetic changes to some plugin descriptions in the manual: 1) In main.tex - don't mention chip8 games in the Player manual and give the correct path to the viewers directory. 2) Correct wrongly placed 'end' in zxbox.tex and remove link to the wiki as this chapter is based off of that page and there is no additional information on it. 3) Let long lists of button names break so they don't overlap with the next column in the pdf - blackjack, bubbles, demystify, flipit, logo, oscilloscope, pegbox, rockblox1d, rockblox, rockboy, sliding puzzle, snake2, solitaire, sudoku. 4) While at it, break long (code) lines in bubbles.tex. 5) Additionally exclude lines which showed only 'n/a' in the button tables for a specific target - pegbox, sokoban. 6) Use 'fname' to mark a path in disktidy.tex, also simplify the button table. 7) Use 'ButtonHold' in doom.tex.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18580 a1c6a512-1295-4272-9138-f99709370657
2008-09-23 17:25:32 +00:00
|
|
|
\opt{SANSA_E200_PAD}{Long \ButtonScrollBack{} / \ButtonScrollFwd}
|
|
|
|
\opt{SANSA_C200_PAD}{Long \ButtonSelect{} / \ButtonVolUp{} / \ButtonVolDown}
|
2009-07-22 18:08:51 +00:00
|
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
2006-12-01 02:23:42 +00:00
|
|
|
& Constantly changing the number under the cursor\\
|
|
|
|
%
|
2006-05-09 21:49:32 +00:00
|
|
|
\opt{RECORDER_PAD}{\ButtonFOne}
|
2006-12-01 02:23:42 +00:00
|
|
|
\opt{ONDIO_PAD}{Long \ButtonMenu}
|
2006-06-06 15:54:11 +00:00
|
|
|
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
|
2009-05-21 11:39:22 +00:00
|
|
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD}{\ButtonMenu}
|
2006-12-01 02:23:42 +00:00
|
|
|
\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD}{\ButtonPlay}
|
2007-01-19 06:45:59 +00:00
|
|
|
\opt{SANSA_E200_PAD}{\ButtonSelect}
|
2007-10-16 00:17:27 +00:00
|
|
|
\opt{SANSA_C200_PAD}{\ButtonPower}
|
2009-07-22 18:08:51 +00:00
|
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
2006-04-02 17:29:44 +00:00
|
|
|
& Open Menu\\
|
2006-05-09 21:49:32 +00:00
|
|
|
%
|
|
|
|
\opt{RECORDER_PAD}{\ButtonFTwo}
|
|
|
|
\opt{ONDIO_PAD}{\ButtonMenu+\ButtonLeft}
|
2007-10-16 00:17:27 +00:00
|
|
|
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonRec}
|
2009-05-21 11:39:22 +00:00
|
|
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD,GIGABEAT_S_PAD}{\ButtonPlay}
|
2006-12-01 02:23:42 +00:00
|
|
|
\opt{IRIVER_H10_PAD}{\ButtonFF}
|
2007-09-17 21:47:48 +00:00
|
|
|
\opt{GIGABEAT_PAD}{\ButtonA}
|
2008-03-18 09:24:35 +00:00
|
|
|
\opt{MROBE100_PAD}{\ButtonDisplay}
|
2009-07-22 18:08:51 +00:00
|
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
2006-05-09 21:49:32 +00:00
|
|
|
& Add/Remove number to scratchpad\\
|
|
|
|
%
|
2006-06-06 15:54:11 +00:00
|
|
|
\opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
|
2009-05-21 11:39:22 +00:00
|
|
|
\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,SANSA_E200_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD%
|
|
|
|
,MROBE100_PAD}{\ButtonPower}
|
2006-08-23 17:10:08 +00:00
|
|
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{Menu $\rightarrow$ Quit}
|
2007-10-16 00:17:27 +00:00
|
|
|
\opt{SANSA_C200_PAD}{Long \ButtonPower}
|
2009-07-22 18:08:51 +00:00
|
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
2006-04-03 22:45:01 +00:00
|
|
|
& Quit\\
|
2006-05-09 21:49:32 +00:00
|
|
|
%
|
2006-04-03 22:45:01 +00:00
|
|
|
\end{btnmap}
|
2006-03-12 22:30:07 +00:00
|
|
|
\end{table}
|
|
|
|
|
2006-06-06 15:54:11 +00:00
|
|
|
Some places where can you can find \fname{.ss} files:
|
2006-03-12 22:30:07 +00:00
|
|
|
\begin{itemize}
|
|
|
|
\item Simple Sudoku (Advanced Puzzle Packs 1 and 2 located near the bottom of that page):
|
|
|
|
\url{http://www.angusj.com/sudoku/}
|
|
|
|
\item Kjell's Sudoku generator/solver:
|
|
|
|
\url{http://kjell.haxx.se/sudoku/}
|
|
|
|
\end{itemize}
|