Skip to content

Port the game-NPC example to TypeScript #11

Description

@kevindechang

examples/game-npc/ demonstrates the whole generalization claim: the same kernel driven by world events, with its own progression ladder, its own vocabulary, and its own presence wording — no conversation in it at all. It runs in CI and asserts its own invariants.

It only exists in Python. The TypeScript runtime therefore has no worked example that a non-conversational domain can copy, which weakens the parity claim exactly where it matters most.

Scope:

  • Mirror examples/game-npc/main.py in examples/typescript-game-npc/.
  • Same world events, same ladder, same output — the numbers should match the Python example's, which makes it a parity test as well as a sample.
  • Wire it into scripts/check.sh and .github/workflows/ci.yml alongside the existing examples.

Good first issue: the behavior is fully specified by the Python file, so the work is translation plus wiring.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions