0.1.1 • Published 7 years ago

scramble-utils-common v0.1.1

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

scramble-common-utils npm

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