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

stageSaysfunction

What a step of the solve is for, in a sentence: "Make a yellow cross on the top."

Import it

import { stageSays } from "@johnmorrisdotca/kyuubu";

Definition

function stageSays(stage: SolveStage, language?: KyuubuLanguage): string

Parameters

NameTypeDescription
stageSolveStage

The stage of the layer-by-layer solving method.

language (optional)KyuubuLanguage

English or Japanese for the displayed words.

Returns

string

What a step of the solve is for, in a sentence: "Make a yellow cross on the top."

Examples

import { stageSays } from "@johnmorrisdotca/kyuubu";

console.log(stageSays("whiteCross", "en"));
Put a white edge in its place on the bottom, with its other colour matching the side.

What it prints (run when this page was built)

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