R/play.R

Defines functions play_yatzy play_yahtzee play_maxi play_forced play_mitzy

Documented in play_forced play_maxi play_mitzy play_yahtzee play_yatzy

#' Play dice game variant
#'
#' Shortcut function calls for calling the variants.
#'
#'
#' @examples
#'   play_yatzy()
#'
#' @name play
#'
NULL

#' @rdname play
#' @export
play_yatzy <- function() {
  yahtzR(variation = "yatzy")
}

#' @rdname play
#' @export
play_yahtzee <- function() {
  yahtzR(variation = "yahtzee")
}

#' @rdname play
#' @export
play_maxi <- function() {
  yahtzR(variation = "maxi_yatzy")
}

#' @rdname play
#' @export
play_forced <- function() {
  yahtzR(variation = "forced_yatzy")
}

#' @rdname play
#' @export
play_mitzy <- function() {
  yahtzR(variation = "mitzy")
}
JerBoon/yahtzR documentation built on Oct. 30, 2019, 7:39 p.m.