Description Usage Arguments Value Examples
Builds a maze via Prim's algorithm.
1 | makeMazePrim(height = 10, width = 10, seed, start = NULL)
|
height |
how high should the maze be |
width |
how wide should the maze be |
seed |
a particular seed for reproducible results |
start |
starting point of the algorithm, can be ommited for a random starting point |
a dataframe generated with Prim's algorithm
1 | maze <- makeMazePrim(width = 10, height = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.