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

CUBE_OPTION_GROUPSconstant

The order the groups are shown in, with what each is called.

Import it

import { CUBE_OPTION_GROUPS } from "@johnmorrisdotca/kyuubu";

Definition

const CUBE_OPTION_GROUPS: Readonly<Record<OptionGroup, Record<KyuubuLanguage, string>>> = {
    size: { en: "Size and shape", ja: "大きさと形" },
    look: { en: "Colours and look", ja: "色と見た目" },
    turning: { en: "Turning", ja: "回し方" },
    input: { en: "Hands and keys", ja: "手とキー" },
    scramble: { en: "A cube that keeps turning", ja: "回り続けるキューブ" },
    solve: { en: "The solve", ja: "ソルブ" },
    replay: { en: "The replay", ja: "再生" },
    guide: { en: "Turn it yourself", ja: "自分で回す" },
    words: { en: "Words", ja: "言葉" },
}

Members

NameTypeDescription
sizeRecord<KyuubuLanguage, string>
scrambleRecord<KyuubuLanguage, string>
guideRecord<KyuubuLanguage, string>
inputRecord<KyuubuLanguage, string>
lookRecord<KyuubuLanguage, string>
turningRecord<KyuubuLanguage, string>
solveRecord<KyuubuLanguage, string>
replayRecord<KyuubuLanguage, string>
wordsRecord<KyuubuLanguage, string>

Examples

import { CUBE_OPTION_GROUPS } from "@johnmorrisdotca/kyuubu";

console.log(Object.keys(CUBE_OPTION_GROUPS).slice(0, 8));
[
  'size',     'look',
  'turning',  'input',
  'scramble', 'solve',
  'replay',   'guide'
]

What it prints (run when this page was built)

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