0.1.1 • Published 7 years ago
scramble-utils-common v0.1.1
scramble-common-utils
npm install scramble-utils-common
API
Axes
Axes for a cubic puzzle
FaceAxisInfo
Mapping from face to axis around which it turns
FaceList
List of faces
Faces
Map of Faces.
Type: {}
Examples
import { Faces } from 'scramble-generator';
Faces.R; // 'R'
Faces.U; // 'U'
Modifiers
Mapping of name constant to corresponding scramble modifier
Type: {}
createMove
Creates a move for a scramble.
Parameters
move
MoveConfig (optional, default{}
)
Returns Move An object representing a move for a scramble