Last data update: 2014.03.03

R: Play Video Poker within R
rvideopokerR Documentation

Play Video Poker within R

Description

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

Usage

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

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")

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(RVideoPoker)
Error in library(RVideoPoker) : there is no package called 'RVideoPoker'
Execution halted