rvideopoker: Play Video Poker within R

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/pokercode.r

Description

Play Video Poker within R, complete with a graphical user interface. So far, only "Jacks or Better" is implemented.

Usage

1
rvideopoker(initbet = 1, blnce = 1000)

Arguments

initbet

Argument initbet specifices the initial bet. The default value is 1 (like 1 cent)

blnce

Argument blnce specifices the initial balance, i.e. the initial amount of "money" you put into the game. The default value is 1000 (like 1000 cents)

Details

This is just a game. Don't take it serious.

Value

No value returned. Function is used for its side effects.

Note

No further notes. Have fun, enjoy, and improve.

Author(s)

Roland Rau

See Also

Another game package of mine: Miney.

Examples

1
2
3
cat("All meaningful examples would require a GUI. Hence this nonsense
example.\n Typically, you would enter\n rvideopoker()\n to start a
standard session.\n Most importantly: Have fun!\n")

Example output

Loading required package: pixmap
Loading required package: tkrplot
Loading required package: tcltk
Loading required package: rpanel
Package `rpanel', version 1.1-4: type help(rpanel) for summary information
Warning messages:
1: no DISPLAY variable so Tk is not available 
2: loading Rplot failed 
All meaningful examples would require a GUI. Hence this nonsense
example.
 Typically, you would enter
 rvideopoker()
 to start a
standard session.
 Most importantly: Have fun!

RVideoPoker documentation built on May 2, 2019, 9:43 a.m.