@axiomvn/game
v0.3.1
Published
Browser composition root for Axiom VN games.
Readme
@axiomvn/game
The composition root of Axiom VN: everything a browser deployment has to wire together to play a pack.
A game needs a runtime, a validated pack, somewhere to keep saves, and a screen to draw on. This package is the one place permitted to know both @axiomvn/persistence and @axiomvn/presentation, and connecting them is its whole job. A project mounts one game onto one element and hands it a pack.
Depends on @axiomvn/content, @axiomvn/core, persistence, and presentation, with pixi.js as a peer dependency. A scaffolded project installs this package — it is the import in src/main.ts.
Its second consumer is this repository's own deployment, apps/web, which is what keeps it a composition root rather than one project's setup code.
Start a project with @axiomvn/create.
