R/play.R

Defines functions play

Documented in play

#' Play the game of Mastermind with a given configuration
#'
#' @param colors integer from 1 to 9. Number of colors in game
#' @param pegs integer from 1 to 9. Number of pegs (slots) in game
#' @param allow_duplicates boolean. TRUE (default) means duplicate colors allowed in code
#'
#' @return NULL
#' @export
#'
#' @examples
#' play(colors = 8, pegs = 4)
#'
play <- function(colors, pegs, allow_duplicates = TRUE) {

}
lassehjorthmadsen/masteRmind documentation built on Dec. 21, 2021, 9:40 a.m.