Implementation Structure — Client · Shared · Server

Every language implements the same logical component with the same responsibility (GameApi=edge·session, QuestMission=per-player state)

Implementation Structure — Client · Shared · Server Every language implements the same logical component with the same responsibility (GameApi=edge·session, QuestMission=per-player state) Program · Client Program Scenario · join~reconcile assertion · Client Scenario join~reconcile assertion Configuration · role·Mesh·stream·marker · Shared Configuration role·Mesh·stream·marker JSON Contracts · action·progress·notify · Shared JSON Contracts action·progress·notify Program · Server / GameApi — edge·session Program Application · Gameplay·SessionBinding · Server / GameApi — edge·session Application Gameplay·SessionBinding Infrastructure · Stream·SpotClient·Query · Server / GameApi — edge·session Infrastructure Stream·SpotClient·Query Program · Server / QuestMission — per-player state Program Domain · Policy·Aggregate·Events · Server / QuestMission — per-player state Domain Policy·Aggregate·Events Application · Apply·Reconcile·Projection · Server / QuestMission — per-player state Application Apply·Reconcile·Projection Infrastructure · Spot·EventStore·ReadModel · Server / QuestMission — per-player state Infrastructure Spot·EventStore·ReadModel Client Shared Server / GameApi — edge·session Server / QuestMission — per-player state

Full tree path and color

  • • GameQuest root has 3 top-level nodes: Client · Shared · Server. Server holds GameApi and QuestMission. Color: Client·GameApi=blue (app·edge·session), QuestMission=green (Spot·per-player state), Shared=gray (common assets).
  • • Client { Program, Scenario } · Shared { Configuration, JSON Contracts }.

Under Server / GameApi

  • • Program.
  • • Application { GameplayUseCases, SessionBinding }.
  • • Infrastructure { StreamHandlers, SpotClients, ProjectionQueryAdapter }.

Under Server / QuestMission

  • • Program.
  • • Domain { QuestPolicy, PlayerQuestAggregate, QuestEvents }.
  • • Application { ApplyGameplay, ReconcileProgress, ProjectionUpdate }.
  • • Infrastructure { PlayerQuestSpot, EventStoreAdapter, ReadModelAdapter, GameplayStateAdapter }.