CuboidWordstype
THE CUBOID'S OWN WORDS, in English and Japanese: what a screen reader calls
it and what is said when a move cannot be made. The player's controls say
what the cube's do (WORDS in words.ts). {braces} are filled in when a
line is shown; a table in another language keeps them.
Import it
import type { CuboidWords } from "@johnmorrisdotca/kyuubu/cuboid";
Definition
type CuboidWords = {
cuboidLabel: string;
faultUnknown: string;
faultNoSuchLayer: string;
faultHalfTurnOnly: string;
faultWholePuzzle: string;
faultDims: string;
faultLength: string;
};
Members
| Name | Type | Description |
|---|---|---|
cuboidLabel | string | What a screen reader calls a cuboid: |
faultUnknown | string | A piece of notation that is not notation. |
faultNoSuchLayer | string | A layer the cuboid does not have. |
faultHalfTurnOnly | string | A quarter turn of a layer that only half turns; |
faultWholePuzzle | string | The one layer of a side one cubie deep. |
faultDims | string | A cuboid that is not one the package makes. |
faultLength | string | A solve too long to play. |
Examples
import type { CuboidWords } from "@johnmorrisdotca/kyuubu/cuboid";
import { CUBOID_WORDS } from "@johnmorrisdotca/kyuubu/cuboid";
const value: CuboidWords = CUBOID_WORDS.en;
console.log(value.cuboidLabel);A {dims} cuboidWhat it prints (run when this page was built)