0.0.3 • Published 9 years ago

cube-simian v0.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

simian

A library for making use of the common mappings for Rubik's Cube simulators.

Notable examples of these mappings are hi-games, jflysim, and qcube.

Install

$ npm install --save cube-simian

API

simian.lettersToAlg(<string>)

Example:

simian.lettersToAlg("ijkf") // => "R U R' U'"

simian.keycodeToMove(<int>)

Example:

simian.keycodeToMove(73) // => "R"

for when you have an event handler.

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago