Nothing
knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) set.seed(101315)
There are two poker variants available:
library(casino) # Setup a new casino setup(".paris")
x <- Poker$new(who = "Gritty", type = "draw", bet = 20) # play one hand x$play() x$hold(1, 2, 5) # hold cards in positions {1, 2, 5} x$draw() # draw new cards for positions {3, 4}
x <- Poker$new(who = "Gritty", type = "stud", bet = 10) # play one hand x$play() # play 2 hands back-to-back x$play()$play(bet = 5)
# get payout table (based on betting 25) knitr::kable(x$get_payout())
# delete records delete()
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.