NatureChainCampaignLeveltype
One authored native challenge with its stable id, setup, winning witness, measurements and review status.
Import it
import type { NatureChainCampaignLevel } from "@johnmorrisdotca/houseki/colour-chains";
Definition
interface NatureChainCampaignLevel extends ChainCampaignLevel {
readonly objective: LocalizedText;
readonly nature: true;
readonly weather?: 'frequent';
readonly magneticQueue?: readonly (readonly [
boolean,
boolean
])[];
readonly weatherTrace?: readonly Readonly<Record<string, unknown>>[];
}
Members
| Name | Type | Description |
|---|---|---|
objective | LocalizedText | |
nature | true | |
weather (optional) | "frequent" | undefined | |
magneticQueue (optional) | readonly (readonly [boolean, boolean])[] | undefined | |
weatherTrace (optional) | readonly Readonly<Record<string, unknown>>[] | undefined | |
id | string | |
number | number | |
title | LocalizedText | |
canonicalKeyHash | string | |
width | number | |
height | number | |
colourCount | 4 | 5 | 6 | |
seed | string | |
board | readonly (Gem | null)[] | |
queue | readonly (readonly [Colour, Colour])[] | |
goal | ChallengeGoal | |
witness | readonly WitnessStep[] | |
tags | readonly string[] | |
rawMetrics | ChainDifficultyMetrics | |
score | number | |
marks | 2 | 4 | 5 | 3 | 1 | |
gradingVersion | string | |
proofStatus | "engine-witness-verified" | |
reviewStatus | "human-review-pending" | "human-reviewed" | |
band (optional) | "entry" | "easy" | "intermediate" | "hard" | "expert" | undefined | |
rawDifficultyScore (optional) | number | undefined | |
normalizationCategory (optional) | string | undefined |
Examples
import type { NatureChainCampaignLevel } from "@johnmorrisdotca/houseki/colour-chains";
import { shizenLevelManifest } from "@johnmorrisdotca/houseki/colour-chains";
const value: NatureChainCampaignLevel = shizenLevelManifest[0];
console.log(value == null ? value : typeof value === "object" ? Object.keys(value).slice(0,6) : value);[ 'id', 'number', 'title', 'objective', 'canonicalKeyHash', 'width' ]What it prints (run when this page was built)