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 · Record solves

famousSolvefunction

One famous solve by its id, or undefined.

Import it

import { famousSolve } from "@johnmorrisdotca/kyuubu/famous";

Definition

function famousSolve(id: string): FamousSolve | undefined

Parameters

NameTypeDescription
idstring

The recorded solve’s id.

Returns

FamousSolve | undefined

The matching solve, or undefined when no record has this id.

Examples

import { FAMOUS_SOLVES, famousSolve } from "@johnmorrisdotca/kyuubu/famous";

console.log(famousSolve(FAMOUS_SOLVES[0]!.id)?.solver);
Teodor Zajder

What it prints (run when this page was built)

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