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

CliWordstype

The command line's words: its help, its refusals and what it reports.

Import it

import type { CliWords } from "@johnmorrisdotca/kyuubu";

Definition

type CliWords = {
    cliUsage: string;
    cliBadOption: string;
    cliNeedsValue: string;
    cliOneMode: string;
    cliBadSize: string;
    cliBadLength: string;
    cliBadCount: string;
    cliBadLang: string;
    cliBadMoves: string;
    cliBadState: string;
    cliNoMethod: string;
    cliImpossible: string;
    cliNeedsStart: string;
    cliSolvedIn: string;
    cliNotSolvedAfter: string;
    cliAlreadySolved: string;
    cliSteps: string;
    cliState: string;
};

Members

NameTypeDescription
cliUsagestring
cliBadOptionstring
cliNeedsValuestring
cliOneModestring
cliBadSizestring
cliBadLengthstring
cliBadCountstring
cliBadLangstring
cliBadMovesstring
cliBadStatestring
cliNoMethodstring
cliImpossiblestring
cliNeedsStartstring
cliSolvedInstring
cliNotSolvedAfterstring
cliAlreadySolvedstring
cliStepsstring
cliStatestring

Examples

import type { CliWords } from "@johnmorrisdotca/kyuubu";
import { STRINGS } from "@johnmorrisdotca/kyuubu";

const value: CliWords = STRINGS.en;
console.log(value.cliAlreadySolved);
Already solved

What it prints (run when this page was built)

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