createArashiLevelfunction
Create a validated native Arashi challenge using its stored setup and winning witness.
Import it
import { createArashiLevel } from "@johnmorrisdotca/houseki/colour-chains";
Definition
function createArashiLevel(id: string | number): GameState
Parameters
| Name | Type | Description |
|---|---|---|
id | string | number | A stable content id, or the one-based display number when numbers are accepted. |
Returns
GameState
Create a validated native Arashi challenge using its stored setup and winning witness.
Examples
import { createArashiLevel } from "@johnmorrisdotca/houseki/colour-chains";
console.log(createArashiLevel(1).phase);fallingWhat it prints (run when this page was built)