Description Usage Arguments Details Value Author(s) Examples
This function plots the result from the SnakesAndLaddersGame Function.
1 | PlotMyGame(output.from.SnakesAndLaddersGame.function, legend = TRUE)
|
output.from.SnakesAndLaddersGame.function |
The output from the SnakesAndLaddersGame function. |
legend |
Takes value TRUE or FALSE, if TRUE, displays the legend for the plot. |
Function that takes output from the SnakesAndLaddersGame function and plots it with an appropriate legend and nice colours to represent each players game. Only accepts number of players between 1 and 7.
A plot |
Plots the players position on each roll. |
Hector Haffenden haffendenh@cardiff.ac.uk
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.