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

SolveLinktype

A solve as a link carries it: its scramble, its moves, and its title where it has one.

Import it

import type { SolveLink } from "@johnmorrisdotca/kyuubu";

Definition

type SolveLink = {
    scramble: string;
    solution: string;
    title?: string;
};

Members

NameTypeDescription
scramblestring
solutionstring
title (optional)string | undefined

Examples

import type { SolveLink } from "@johnmorrisdotca/kyuubu";


const value: SolveLink = { scramble: "R U", solution: "U' R'", title: "Two turns" };
console.log(value.title);
Two turns

What it prints (run when this page was built)

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