Skip to the content

Kyuubuキューブ

Turn CSS 3D cubes by touch, keys or notation, reproduce a scramble from a seed, and follow a solve one named step at a time.

Kyuubu (キューブ) is the Japanese spelling of cube. About the name

Contents

Reference · Cube engine and views

SOLVE_ALGORITHMSconstant

The algorithms the method uses, by name. The notation is for white on the bottom.

Import it

import { SOLVE_ALGORITHMS } from "@johnmorrisdotca/kyuubu";

Definition

const SOLVE_ALGORITHMS: { readonly cornerIn: "R U R' U'"; readonly edgeRight: "U R U' R' U' F' U F"; readonly edgeLeft: "U' L' U L U F U' F'"; readonly yellowCross: "F R U R' U' F'"; readonly sune: "R U R' U R U2 R'"; readonly cornerCycle: "R' F R' B2 R F' R' B2 R2"; readonly edgeCycle: "R U' R U R U R U' R' U' R2"; } = {
    cornerIn: "R U R' U'",
    edgeRight: "U R U' R' U' F' U F",
    edgeLeft: "U' L' U L U F U' F'",
    yellowCross: "F R U R' U' F'",
    sune: "R U R' U R U2 R'",
    cornerCycle: "R' F R' B2 R F' R' B2 R2",
    edgeCycle: "R U' R U R U R U' R' U' R2",
} as const

Members

NameTypeDescription
cornerIn"R U R' U'"
edgeRight"U R U' R' U' F' U F"
edgeLeft"U' L' U L U F U' F'"
yellowCross"F R U R' U' F'"
sune"R U R' U R U2 R'"
cornerCycle"R' F R' B2 R F' R' B2 R2"
edgeCycle"R U' R U R U R U' R' U' R2"

Examples

import { SOLVE_ALGORITHMS } from "@johnmorrisdotca/kyuubu";

console.log(Object.keys(SOLVE_ALGORITHMS).slice(0, 8));
[
  'cornerIn',
  'edgeRight',
  'edgeLeft',
  'yellowCross',
  'sune',
  'cornerCycle',
  'edgeCycle'
]

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kyuubu 1.14.1.