knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" ) devtools::load_all(".")
For simulating five-card draw poker scenarios
You can install the released version of fivecarddraw from Github
remotes::install_github("mkearney/fivecarddraw")
Start a round of five-card draw
## start a game with five players p <- Poker$new(players = 5) ## shuffle p$shuffle() ## deal p$deal() ## show cards p$peek() ## draw cards p$draw() ## show hands p$show()
This package was inspired by a question about five-card draw from my father-in-law. It isn't scientific and it's a work in progress.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.