Skip to contents

This function launches the interactive Shiny application for the MastRmind game.

Usage

play_shiny(attempts = 10)

Arguments

attempts

The number of attempts (rows) the player has. Default is 10.

Value

A Shiny app object which is run in the browser.

Examples

if (FALSE) { # \dontrun{
  # To play the game with default settings (10 rows):
  play_shiny()

  # To play a game with 12 attempts:
  play_shiny(attempts = 12)
} # }