本文へ移動

Kyuubuキューブ

CSS 3Dのキューブをタッチ、キー、回転記号で回します。シードでスクランブルを再現し、名前付きの手順で解き方を追えます。

「キューブ」は、英語のcubeを表す日本語の表記です。 名前について(英語)

目次

リファレンス · キューブのエンジンと表示

CubeWords型

リファレンスの説明と例は英語です。見出しと目次は日本語です。

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 type { CubeWords } from "@johnmorrisdotca/kyuubu";

定義

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;
};

メンバー

名前型説明
cubeLabelstring
solvedstring
notSolvedstring
stageHoldstring
stageWhiteCrossstring
stageWhiteCornersstring
stageWhiteLayerstring
stageMiddleLayerstring
stageYellowCrossstring
stageYellowFacestring
stageYellowCornersstring
stageYellowEdgesstring
saysHoldstring
saysWhiteCrossstring
saysWhiteCornersstring
saysWhiteLayerstring
saysMiddleLayerstring
saysYellowCrossstring
saysYellowFacestring
saysYellowCornersstring
saysYellowEdgesstring
algCornerInstring
algEdgeRightstring
algEdgeLeftstring
algYellowCrossstring
algSunestring
algCornerCyclestring
algEdgeCyclestring
playerPlaystring
playerPausestring
playerBackstring
playerOnstring
playerAgainstring
playerLoopstring
playerSpeedstring
playerOwnPacestring
playerMoveOfstring
playerScrubstring
playerUnsolvedstring
playerCannotReadstring
playerNoSuchLayerstring
playerTooLongstring
playerEvenPacestring
playerCreditstring
guideSideRstring
guideSideLstring
guideSideUstring
guideSideDstring
guideSideFstring
guideSideBstring
guideFacestring
guideInnerstring
guideWidestring
guideMiddleMstring
guideMiddleEstring
guideMiddleSstring
guideTowardsstring
guideAwaystring
guideToRightstring
guideToLeftstring
guideClockwisestring
guideAnticlockwisestring
guideTurnstring
guideHalfstring
guideWholeXstring
guideWholeXPrimestring
guideWholeX2string
guideWholeYstring
guideWholeYPrimestring
guideWholeY2string
guideWholeZstring
guideWholeZPrimestring
guideWholeZ2string
guideDragstring
guideDragHalfstring
guideDragSlabstring
guideDragSeamstring
guideLookstring
guideWholeHowstring
guideOffstring
guideOffHowstring
guideTakeBackstring
guideDoItstring
guideDonestring
guideLabelstring
playerFollowstring
playerMovesLabelstring
playerScrambleLabelstring
playerSolutionLabelstring
playerScrambleOfstring
playerBeforeScramblestring
playerHeardstring
playerTokenstring
moveFacestring
moveLayersstring
moveLayerstring
moveSliceMstring
moveSliceEstring
moveSliceSstring
moveSliceWaystring
moveWholestring
moveSaysstring
moveCwstring
moveCcwstring
moveTwicestring
moveCount2string
moveCount3string
moveCount4string
moveCount5string
moveCount6string

例

import type { CubeWords } from "@johnmorrisdotca/kyuubu";
import { WORDS } from "@johnmorrisdotca/kyuubu";

const value: CubeWords = WORDS.en;
console.log(value.solved);
Solved

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/kyuubu 1.14.1 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。