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

OptionKindtype

How a choice is made: a number in a range, on or off, one of a few, a colour, or text (moves are text with notation in it).

Import it

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

Definition

type OptionKind = "number" | "boolean" | "choice" | "colour" | "text" | "moves";

Examples

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


const value: OptionKind = "boolean";
console.log(value);
boolean

What it prints (run when this page was built)

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