#' Shuffle cards
#'
#' @param cards A character vector of cards
#' @return A character vector of cards
#' @export
#' @examples
#' discard = c("this","that")
#' shuffle(discard)
#'
shuffle <- function(cards) {
sample(cards)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.