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 · Cuboid engine

CuboidReplayFaulttype

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

Import it

import type { CuboidReplayFault } from "@johnmorrisdotca/kyuubu/cuboid";

Definition

type CuboidReplayFault = {
    part: "dims" | "scramble" | "solution" | "length";
    token?: string;
    at?: number;
    fault?: CuboidFault;
};

Members

NameTypeDescription
part"scramble" | "dims" | "solution" | "length"
token (optional)string | undefined
at (optional)number | undefined
fault (optional)CuboidFault | undefined

Examples

import type { CuboidReplayFault } from "@johnmorrisdotca/kyuubu/cuboid";


const value: CuboidReplayFault = { part: "solution", token: "U", at: 0, fault: "half-turn-only" };
console.log(value.fault);
half-turn-only

What it prints (run when this page was built)

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