@eigeninteractive/rules
v0.6.0
Published
The game-rules contract for the EigenInteractive engine: GameRules, GameModule, the hooks, and the Envelope/Observation types. Pure types, zero engine dependencies.
Maintainers
Readme
@eigeninteractive/rules
The game-rules contract for the EigenInteractive engine, a server-authoritative engine for turn-based multiplayer games.
This package is pure types plus two helpers, with zero engine dependencies.
A game author reads only this: GameRules, GameModule, the seven hooks, and the
Envelope / Observation types.
import type { GameModule, GameRules, Envelope } from "@eigeninteractive/rules";
export default { versions: { 1: rulesV1 } } satisfies GameModule;Documentation
Full documentation: https://eigeninteractive.com/docs/build-a-game/the-contract
License
MIT © EigenInteractive
