Reference · Cube engine and views
CubeWordstype
THE WORDS THE CUBE ITSELF SAYS, in English and Japanese: what a screen
reader calls it, whether it is solved, the names of the steps of a solve
and what each is for, and the names of the method's algorithms. They are
kept apart from the command line's words (strings.ts), so that a page
that only draws a cube carries only these.
{n} and the other braces are filled in when a line is shown; a table in
another language must keep them.
Import it
import type { CubeWords } from "@johnmorrisdotca/kyuubu";
Definition
type CubeWords = {
cubeLabel: string;
solved: string;
notSolved: string;
stageHold: string;
stageWhiteCross: string;
stageWhiteCorners: string;
stageWhiteLayer: string;
stageMiddleLayer: string;
stageYellowCross: string;
stageYellowFace: string;
stageYellowCorners: string;
stageYellowEdges: string;
saysHold: string;
saysWhiteCross: string;
saysWhiteCorners: string;
saysWhiteLayer: string;
saysMiddleLayer: string;
saysYellowCross: string;
saysYellowFace: string;
saysYellowCorners: string;
saysYellowEdges: string;
algCornerIn: string;
algEdgeRight: string;
algEdgeLeft: string;
algYellowCross: string;
algSune: string;
algCornerCycle: string;
algEdgeCycle: string;
playerPlay: string;
playerPause: string;
playerBack: string;
playerOn: string;
playerAgain: string;
playerLoop: string;
playerSpeed: string;
playerOwnPace: string;
playerMoveOf: string;
playerScrub: string;
playerUnsolved: string;
playerCannotRead: string;
playerNoSuchLayer: string;
playerTooLong: string;
playerEvenPace: string;
playerCredit: string;
guideSideR: string;
guideSideL: string;
guideSideU: string;
guideSideD: string;
guideSideF: string;
guideSideB: string;
guideFace: string;
guideInner: string;
guideWide: string;
guideMiddleM: string;
guideMiddleE: string;
guideMiddleS: string;
guideTowards: string;
guideAway: string;
guideToRight: string;
guideToLeft: string;
guideClockwise: string;
guideAnticlockwise: string;
guideTurn: string;
guideHalf: string;
guideWholeX: string;
guideWholeXPrime: string;
guideWholeX2: string;
guideWholeY: string;
guideWholeYPrime: string;
guideWholeY2: string;
guideWholeZ: string;
guideWholeZPrime: string;
guideWholeZ2: string;
guideDrag: string;
guideDragHalf: string;
guideDragSlab: string;
guideDragSeam: string;
guideLook: string;
guideWholeHow: string;
guideOff: string;
guideOffHow: string;
guideTakeBack: string;
guideDoIt: string;
guideDone: string;
guideLabel: string;
playerFollow: string;
playerMovesLabel: string;
playerScrambleLabel: string;
playerSolutionLabel: string;
playerScrambleOf: string;
playerBeforeScramble: string;
playerHeard: string;
playerToken: string;
moveFace: string;
moveLayers: string;
moveLayer: string;
moveSliceM: string;
moveSliceE: string;
moveSliceS: string;
moveSliceWay: string;
moveWhole: string;
moveSays: string;
moveCw: string;
moveCcw: string;
moveTwice: string;
moveCount2: string;
moveCount3: string;
moveCount4: string;
moveCount5: string;
moveCount6: string;
};
Members
| Name | Type | Description |
|---|---|---|
cubeLabel | string | |
solved | string | |
notSolved | string | |
stageHold | string | |
stageWhiteCross | string | |
stageWhiteCorners | string | |
stageWhiteLayer | string | |
stageMiddleLayer | string | |
stageYellowCross | string | |
stageYellowFace | string | |
stageYellowCorners | string | |
stageYellowEdges | string | |
saysHold | string | |
saysWhiteCross | string | |
saysWhiteCorners | string | |
saysWhiteLayer | string | |
saysMiddleLayer | string | |
saysYellowCross | string | |
saysYellowFace | string | |
saysYellowCorners | string | |
saysYellowEdges | string | |
algCornerIn | string | |
algEdgeRight | string | |
algEdgeLeft | string | |
algYellowCross | string | |
algSune | string | |
algCornerCycle | string | |
algEdgeCycle | string | |
playerPlay | string | |
playerPause | string | |
playerBack | string | |
playerOn | string | |
playerAgain | string | |
playerLoop | string | |
playerSpeed | string | |
playerOwnPace | string | |
playerMoveOf | string | |
playerScrub | string | |
playerUnsolved | string | |
playerCannotRead | string | |
playerNoSuchLayer | string | |
playerTooLong | string | |
playerEvenPace | string | |
playerCredit | string | |
guideSideR | string | |
guideSideL | string | |
guideSideU | string | |
guideSideD | string | |
guideSideF | string | |
guideSideB | string | |
guideFace | string | |
guideInner | string | |
guideWide | string | |
guideMiddleM | string | |
guideMiddleE | string | |
guideMiddleS | string | |
guideTowards | string | |
guideAway | string | |
guideToRight | string | |
guideToLeft | string | |
guideClockwise | string | |
guideAnticlockwise | string | |
guideTurn | string | |
guideHalf | string | |
guideWholeX | string | |
guideWholeXPrime | string | |
guideWholeX2 | string | |
guideWholeY | string | |
guideWholeYPrime | string | |
guideWholeY2 | string | |
guideWholeZ | string | |
guideWholeZPrime | string | |
guideWholeZ2 | string | |
guideDrag | string | |
guideDragHalf | string | |
guideDragSlab | string | |
guideDragSeam | string | |
guideLook | string | |
guideWholeHow | string | |
guideOff | string | |
guideOffHow | string | |
guideTakeBack | string | |
guideDoIt | string | |
guideDone | string | |
guideLabel | string | |
playerFollow | string | |
playerMovesLabel | string | |
playerScrambleLabel | string | |
playerSolutionLabel | string | |
playerScrambleOf | string | |
playerBeforeScramble | string | |
playerHeard | string | |
playerToken | string | |
moveFace | string | |
moveLayers | string | |
moveLayer | string | |
moveSliceM | string | |
moveSliceE | string | |
moveSliceS | string | |
moveSliceWay | string | |
moveWhole | string | |
moveSays | string | |
moveCw | string | |
moveCcw | string | |
moveTwice | string | |
moveCount2 | string | |
moveCount3 | string | |
moveCount4 | string | |
moveCount5 | string | |
moveCount6 | string |
Examples
import type { CubeWords } from "@johnmorrisdotca/kyuubu";
import { WORDS } from "@johnmorrisdotca/kyuubu";
const value: CubeWords = WORDS.en;
console.log(value.solved);SolvedWhat it prints (run when this page was built)