Description Usage Arguments Details Value Examples
The play_game()
function combines all the steps described above
into a single function to play one round of the game.
1 |
To |
start play_game() the variable |
This function allows the user to simulate game play through the use of a single function as described in the parameters below. Each simulation is the equivalent of one round of the game.
The variable game.results
is a data frame returned by the function
play_game(). The results are a single character vector that indicate
"WIN" or "LOSE".
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.