Type for the game state transitions function.
For each prefix it can return a list of state transitions and events.
(blockHeight: number,input: BaseStfInput,) => SyncStateUpdateStream<void>
Type for the game state transitions function.
For each prefix it can return a list of state transitions and events.
(blockHeight: number,input: BaseStfInput,) => SyncStateUpdateStream<void>
Add Package
deno add jsr:@paimaexample/runtime
Import symbol
import { type StartConfigGameStateTransitions } from "@paimaexample/runtime";
Import directly with a jsr specifier
import { type StartConfigGameStateTransitions } from "jsr:@paimaexample/runtime";
Add Package
pnpm i jsr:@paimaexample/runtime
pnpm dlx jsr add @paimaexample/runtime
Import symbol
import { type StartConfigGameStateTransitions } from "@paimaexample/runtime";
Add Package
yarn add jsr:@paimaexample/runtime
yarn dlx jsr add @paimaexample/runtime
Import symbol
import { type StartConfigGameStateTransitions } from "@paimaexample/runtime";
Add Package
vlt install jsr:@paimaexample/runtime
Import symbol
import { type StartConfigGameStateTransitions } from "@paimaexample/runtime";
Add Package
npx jsr add @paimaexample/runtime
Import symbol
import { type StartConfigGameStateTransitions } from "@paimaexample/runtime";
Add Package
bunx jsr add @paimaexample/runtime
Import symbol
import { type StartConfigGameStateTransitions } from "@paimaexample/runtime";