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 elements

CUBE_ELEMENT_ATTRIBUTESconstant

The attributes the element reads. Changing any draws the player afresh.

Import it

import { CUBE_ELEMENT_ATTRIBUTES } from "@johnmorrisdotca/kyuubu/element";

Definition

const CUBE_ELEMENT_ATTRIBUTES: readonly ["size", "scramble", "moves", "time", "autoplay", "controls", "loop", "speed", "theme", "cloth", "lang", "guide", "readout", "movelist", "scrub"] = [
    "size",
    "scramble",
    "moves",
    "time",
    "autoplay",
    "controls",
    "loop",
    "speed",
    "theme",
    "cloth",
    "lang",
    "guide",
    "readout",
    "movelist",
    "scrub",
] as const

Examples

import { CUBE_ELEMENT_ATTRIBUTES } from "@johnmorrisdotca/kyuubu/element";
console.log(typeof CUBE_ELEMENT_ATTRIBUTES); // object
object

What it prints (run when this page was built)

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