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

MoveListItemtype

One move of a list: its code, what it turns in words (worked out from the code when left out), and the name a screen reader gives its button (the code and the words when left out).

Import it

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

Definition

type MoveListItem = {
    code: string;
    name?: string;
    label?: string;
};

Members

NameTypeDescription
codestring
name (optional)string | undefined
label (optional)string | undefined

Examples

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


const value: MoveListItem = { code: "R", label: "Right face" };
console.log(value.code);
R

What it prints (run when this page was built)

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