Package Exports
- scramble-utils-common
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (scramble-utils-common) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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