Skip to contents

An R implementation of the Mastermind peg game.

Installation

You can install the development version of mastRmind from GitHub with:

# install.packages("remotes")
remotes::install_github("mgimond/mastRmind")

Instructions

Learn how to play the game and understand its mechanics in the Game Instructions vignette.

Example

To launch the console version of the game:

mastRmind::play()

To launch the shiny version of the game:

mastRmind::play_shiny()

License

The mastRmind package is licensed under the AGPL-3. See the LICENSE.md file for more details.