Common functions and constants for Rubik's cube scramble utilities
npm install scramble-utils-commonnpm install scramble-utils-common
Axes for a cubic puzzle
Mapping from face to axis around which it turns
List of faces
Map of Faces.
Type: {}
Examples
``javascript`
import { Faces } from 'scramble-generator';
Faces.R; // 'R'
Faces.U; // 'U'
Mapping of name constant to corresponding scramble modifier
Type: {}
Creates a move for a scramble.
Parameters
- move MoveConfig (optional, default {}`)
Returns Move An object representing a move for a scramble