ChallengeGemtype
Authored challenge layouts can include explicit Shizen-marked stones.
Import it
import type { ChallengeGem } from "@johnmorrisdotca/houseki/colour-chains";
Definition
type ChallengeGem = Gem;
Members
| Name | Type | Description |
|---|---|---|
id | number | |
colour | Colour | |
magnetic (optional) | true | undefined |
Examples
import type { ChallengeGem } from "@johnmorrisdotca/houseki/colour-chains";
const value: ChallengeGem = {id:1,colour:"red",magnetic:true};
console.log(value == null ? value : typeof value === "object" ? Object.keys(value).slice(0,6) : value);[ 'id', 'colour', 'magnetic' ]What it prints (run when this page was built)