41 lines
613 B
R
41 lines
613 B
R
|
#' Built in Dice
|
||
|
#'
|
||
|
#' Built in dice available to use. You can create your own using
|
||
|
#' \code{\link{makeDie}}
|
||
|
#'
|
||
|
#' @format
|
||
|
#'
|
||
|
#' @name BuiltInDice
|
||
|
NULL
|
||
|
|
||
|
|
||
|
#' @rdname BuiltInDice
|
||
|
#' @examples roll(d4)
|
||
|
#' @export
|
||
|
d4 = makeDie(1:4)
|
||
|
|
||
|
#' @rdname BuiltInDice
|
||
|
#' @examples roll(d6)
|
||
|
#' @export
|
||
|
d6 = makeDie(1:6)
|
||
|
|
||
|
#' @rdname BuiltInDice
|
||
|
#' @examples roll(d8)
|
||
|
#' @export
|
||
|
d8 = makeDie(1:8)
|
||
|
|
||
|
#' @rdname BuiltInDice
|
||
|
#' @examples roll(d10)
|
||
|
#' @export
|
||
|
d10 = makeDie(1:10)
|
||
|
|
||
|
#' @rdname BuiltInDice
|
||
|
#' @examples roll(d12)
|
||
|
#' @export
|
||
|
d12 = makeDie(1:12)
|
||
|
|
||
|
#' @rdname BuiltInDice
|
||
|
#' @examples roll(d20)
|
||
|
#' @export
|
||
|
d20 = makeDie(1:20)
|