Reference · Cube engine and views
ScrambleOptionstype
How a scramble is made.
Import it
import type { ScrambleOptions } from "@johnmorrisdotca/kyuubu";
Definition
type ScrambleOptions = {
faces?: boolean;
};
Members
| Name | Type | Description |
|---|---|---|
faces (optional) | boolean | undefined | Turn only the six outer faces, never an inner layer: on a 3×3, no M, E or S. Every layer may turn when left out. |
Examples
import type { ScrambleOptions } from "@johnmorrisdotca/kyuubu";
const value: ScrambleOptions = { faces: true };
console.log(value.faces);trueWhat it prints (run when this page was built)