You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nick Rygiel edited this page Jul 4, 2026
·
1 revision
Turn-Based Game Demo
The repository now includes a no-build browser demo that makes the dual-engine
pattern concrete. It is synthetic, dependency-free, and neutral; it is not tied
to any private game repo.
Repo path:
examples/turn-based-game/index.html
Flow
Human command text is accepted in a console-style input.
A deterministic parser compiles it into intent telemetry.
A registered primitive hydrates a preview panel.
The preview shows cost, risk labels, fallback route, source assertions, and
separate advisor interpretation.
State-changing work pauses at an approval gate.
Approval writes a deterministic ledger event and returns focus.
Why It Matters
The demo shows the core pwcli-core idea without adding a framework: AI or
parser output should select known panels and typed execution targets, not invent
routes, UI code, schemas, or hidden state changes.