Reference · Pipes, rules and solving
Placedtype
A block placed on a board by the generator: kind is a kind of BIG_KINDS or the id of a BigShape, and null for a block that turns as one.
Import it
import type { Placed } from "@johnmorrisdotca/suido";
Definition
type Placed = {
anchor: number;
kind: string | null;
quarters: number;
};
Members
| Name | Type | Description |
|---|---|---|
anchor | number | |
kind | string | null | |
quarters | number |
Examples
import type { Placed } from "@johnmorrisdotca/suido";
const value: Placed = {anchor:0,kind:"elbow",quarters:0};
console.log(value);{ anchor: 0, kind: 'elbow', quarters: 0 }What it prints (run when this page was built)