Description Usage Arguments Value Examples
Scrambling cube
1 | scramble(cube, times = 0)
|
cube |
- cube object to scramble |
times |
- how many random moves should be done on cube. Default is 0 which means N*10 moves where N is the size of the cube. |
cube
1 2 3 4 5 6 | cube <- createCube()
set.seed(1)
cube <- scramble(cube)
bigcube <- createCube(N = 15)
set.seed(1)
bigcube <- scramble(bigcube)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.