Description Usage Arguments Value Examples
Create the orginization of goats and cars.
1 | create_game(goats = 2, cars = 1)
|
goats |
Numer of goats that will be hidden behind doors. |
cars |
Number of cars that will be hidden behind doors. |
... |
further arguments passed to or from other methods. |
create_game() will create a sample game of two goats and one car by default, but also will allow the user to define the number of goats and cars in the simulation.
1 2 3 4 5 | ## Randomly sorts 2 goats and 1 car
create_game()
## Randomly sorts 4 goats and 3 cars.
create_game(4, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.