powered by
Scrambling cube
scramble(cube, times = 0)
- cube object to scramble
- 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
# NOT RUN { cube <- createCube() set.seed(1) cube <- scramble(cube) bigcube <- createCube(N = 15) set.seed(1) bigcube <- scramble(bigcube) # }
Run the code above in your browser using DataLab