Reference · Cube engine and views
WORDSconstant
The cube's words in both languages. STRINGS in strings.ts is these and the command line's together.
Import it
import { WORDS } from "@johnmorrisdotca/kyuubu";
Definition
const WORDS: Readonly<Record<KyuubuLanguage, CubeWords>>
Members
| Name | Type | Description |
|---|---|---|
en | CubeWords | |
ja | CubeWords |
Examples
import { WORDS } from "@johnmorrisdotca/kyuubu";
console.log(Object.keys(WORDS.en).slice(0, 5));[ 'cubeLabel', 'solved', 'notSolved', 'stageHold', 'stageWhiteCross' ]What it prints (run when this page was built)