ShikakuChallengetype
The named route, board shape, difficulty and seed of one Shikaku challenge.
Import it
import type { ShikakuChallenge } from "@johnmorrisdotca/kazu/shikaku";
Also exported from: @johnmorrisdotca/kazu
Definition
type ShikakuChallenge = {
pack: ShikakuPackKey;
packTitle: string;
name: string;
level: ShikakuLevel;
width: number;
height: number;
seed: number;
};
Members
| Name | Type | Description |
|---|---|---|
pack | ShikakuPackKey | |
packTitle | string | |
name | string | |
level | ShikakuLevel | |
width | number | |
height | number | |
seed | number |
Examples
import type { ShikakuChallenge } from "@johnmorrisdotca/kazu/shikaku";
const value: ShikakuChallenge = {pack:"square",packTitle:"The Courtyard",name:"First Cut",level:"easy",width:7,height:7,seed:1};
console.log(value);{
pack: 'square',
packTitle: 'The Courtyard',
name: 'First Cut',
level: 'easy',
width: 7,
height: 7,
seed: 1
}What it prints (run when this page was built)