scramble {rcube}R Documentation

Scrambling cube

Description

Scrambling cube

Usage

scramble(cube, times = 0)

Arguments

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.

Value

cube

Examples

cube <- createCube()
set.seed(1)
cube <- scramble(cube)
bigcube <- createCube(N = 15)
set.seed(1)
bigcube <- scramble(bigcube)

[Package rcube version 0.5 Index]