1
0
Fork 0
forked from len0rd/rockbox

t! Initial version of a Blackjack plugin for bitmap-screen targets. Also includes the changes to the manual. Cross your fingers...

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12030 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tom Ross 2007-01-16 21:05:15 +00:00
parent 285aa1b0a6
commit 913fea27fc
14 changed files with 1526 additions and 0 deletions

View file

@ -43,6 +43,7 @@ jpeg.c
mandelbrot.c
plasma.c
blackjack.c
bounce.c
#ifndef SANSA_E200
bubbles.c

1442
apps/plugins/blackjack.c Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,81 @@
\subsection{Blackjack}
\screenshot{plugins/images/ss-blackjack}{Blackjack}{fig:blackjack}
Blackjack, a game played in casinos around the world, is now available
in the palm of your hand! The rules are simple: try to get as close to 21
without going over or simply beat out the dealer for the best hand.
Although this may not seem difficult, blackjack is a game renowned for the
strategy involved. This version includes the ability to split, buy insurance,
and double down.
For the full set of rules to the game, and other facinating information
visit\\
\url{http://www.blackjackinfo.com/blackjack-rules.php}
\begin{table}
\begin{btnmap}{}{}
\multicolumn{2}{c}{\textbf{In menu}}\\\hline
\opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
\opt{GIGABEAT_PAD}{\ButtonPower}
\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD}{\ButtonPlay}
\opt{IPOD_4G_PAD,IPOD_3G_PAD,SANSA_E200_PAD}{\ButtonSelect}
\opt{ONDIO_PAD}{\ButtonMenu}
& Start new game\\
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
\opt{RECORDER_PAD,IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonPlay}
\opt{ONDIO_PAD,IAUDIO_X5_PAD}{\ButtonDown}
\opt{IRIVER_H10_PAD}{\ButtonRight}
\opt{SANSA_E200_PAD}{\ButtonRec}
\opt{GIGABEAT_PAD}{\ButtonMenu}
& Resume saved game\\
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonSelect}
\opt{RECORDER_PAD,IAUDIO_X5_PAD,IPOD_4G_PAD,IPOD_3G_PAD,GIGABEAT_PAD}{\ButtonRight}
\opt{ONDIO_PAD,SANSA_E200_PAD}{\ButtonUp}
\opt{IRIVER_H10_PAD}{\ButtonLeft}
& Show high scores\\
\opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu}
\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,SANSA_E200_PAD}{\ButtonPower}
\opt{GIGABEAT_PAD}{\ButtonA}
& Quit\\\hline
\multicolumn{2}{c}{\textbf{In game}}\\\hline
\ButtonLeft/\ButtonRight/\\
\opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,GIGABEAT_PAD}
{\ButtonUp/\ButtonDown}
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonScrollFwd/\ButtonScrollBack}
\opt{IRIVER_H10_PAD,SANSA_E200_PAD}{\ButtonScrollUp/\ButtonScrollDown}
& Enter betting amount\\
\opt{RECORDER_PAD}{\ButtonFOne}
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
\opt{IRIVER_H10_PAD}{\ButtonPlay}
\opt{IPOD_4G_PAD,IPOD_3G_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD}{\ButtonSelect}
\opt{ONDIO_PAD}{\ButtonLeft}
\opt{GIGABEAT_PAD}{\ButtonVolUp}
& Hit (Draw new card)\\
\opt{RECORDER_PAD}{\ButtonFTwo}
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD}{\ButtonRec}
\opt{IRIVER_H10_PAD}{\ButtonFF}
\opt{ONDIO_PAD,IPOD_4G_PAD,IPOD_3G_PAD,SANSA_E200_PAD}{\ButtonRight}
\opt{GIGABEAT_PAD}{\ButtonVolDown}
& Stay (End hand)\\
\opt{RECORDER_PAD}{\ButtonFThree}
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD,GIGABEAT_PAD}{\ButtonSelect}
\opt{IAUDIO_X5_PAD}{\ButtonPlay}
\opt{IRIVER_H10_PAD}{\ButtonRew}
\opt{ONDIO_PAD}{\ButtonUp}
\opt{IPOD_4G_PAD,IPOD_3G_PAD,SANSA_E200_PAD}{\ButtonLeft}
& Double down\\
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
\opt{RECORDER_PAD,IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonPlay}
\opt{ONDIO_PAD,IAUDIO_X5_PAD}{\ButtonDown}
\opt{IRIVER_H10_PAD}{\ButtonRight}
\opt{SANSA_E200_PAD}{\ButtonRec}
\opt{GIGABEAT_PAD}{\ButtonMenu}
& Save game\\
\opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu}
\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,SANSA_E200_PAD}{\ButtonPower}
\opt{GIGABEAT_PAD}{\ButtonA}
& Return to menu or cancel\\\hline
\end{btnmap}
\end{table}

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 871 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

View file

@ -18,6 +18,8 @@ text files, chip8 games), or from the \setting{Open with} option on the
\opt{recorder,recorderv2fm,h1xx,h300,ipodcolor,ipodvideo,sansa}
{and Rockboy in \reference{ref:Rockboy}}.}
\opt{HAVE_LCD_BITMAP}{\input{plugins/blackjack.tex}}
\opt{HAVE_LCD_BITMAP}{\input{plugins/brickmania.tex}}
\opt{HAVE_LCD_BITMAP}{\input{plugins/bubbles.tex}}