Platform-neutral config-driven game semantics and runtime primitives for Ankhorage apps.
Usage
CLI
Ankhorage packages expose their command-line interface through ankh. Use ankh --help to discover available package commands, or run a package command with --help for package-specific usage.
# Install the Ankhorage CLI
bun add --global @ankhorage/ankh
# Show usage information for game
ankh game --help
Basic Game Rules
Start with the smallest config-driven game: an event matches a rule and applies an immutable
state effect. Keep rules serializable; UI, timers and platform input stay outside this package.
import { applyGameEvent, createGameSession, type GameDefinition } from '@ankhorage/game';
This package contains 5 additional examples. See the generated documentation for the complete set.