Description Usage Arguments Value Examples
Simulate different strategies in variations of Mastermind
1 |
colors |
integer from 1 to 9. Number of colors in game |
pegs |
integer from 1 to 9. Number of pegs (slots) in game |
strategy |
character, one of "Knuth", "Doable" |
n |
integer, number of simulations to run |
vector with counts of the number of guesses used
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.