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

ReplayFaulttype

Why a replay could not be planned: which text would not read, and where.

Import it

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

Definition

type ReplayFault = {
    part: "size" | "scramble" | "solution" | "length";
    fault?: NotationFault;
};

Members

NameTypeDescription
part"size" | "scramble" | "solution" | "length"
fault (optional)NotationFault | undefined

Examples

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


const value: ReplayFault = { part: "solution", fault: { token: "oops", at: 0, line: 1, column: 1, reason: "unknown" } };
console.log(value.part);
solution

What it prints (run when this page was built)

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