This repository has been archived by the owner on Jan 25, 2021. It is now read-only.
Releases: scottbedard/cube
Releases · scottbedard/cube
1.0.0
1.0.0-beta.0
Going forward, we will try not to make breaking changes, as the API is now considered stable.
Breaking changes
- State keys are now upper cased
- Turn notation now uses a superset of WCA notation (#14)
New
- A cli command has been added to parse turn strings (#13)
Improved
- More minification optimizations (#12)
0.5.2
0.5.1
0.5.0
0.4.0
Breaking change
- When using sticker objects, the
index
key has been renamed tooriginalIndex
. This value does not change as the cube is turned, and can be used to determine a solution for "super cubes", where there is only one solved state.
New
- Cube instances now expose a
parseTurn
method to convert turn strings into objects
0.3.1
New
A minified browser-friendly build is now included
0.3.0
New
- Added an option to store state as
{ index, value }
objects - Added a
stickers
method to iterate over all stickers
// these can be used together to attach additional information to stickers
const cube = new Cube(3, { useObjects: true });
cube.stickers(sticker => {
sticker.foo = 'whatever';
});
0.2.2
0.2.2
0.2.1
0.2.1