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 · Cuboid elements

CUBOID_ELEMENT_ATTRIBUTESconstant

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

Import it

import { CUBOID_ELEMENT_ATTRIBUTES } from "@johnmorrisdotca/kyuubu/cuboid/element";

Definition

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

Examples

import { CUBOID_ELEMENT_ATTRIBUTES } from "@johnmorrisdotca/kyuubu/cuboid/element";

console.log(CUBOID_ELEMENT_ATTRIBUTES);
[
  'dims',     'scramble',
  'moves',    'time',
  'autoplay', 'controls',
  'loop',     'speed',
  'theme',    'cloth',
  'lang',     'readout',
  'movelist', 'scrub'
]

What it prints (run when this page was built)

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