How maiklvas-bot/dns-sim-temp3 works
DNS SimCenter is a browser-based business simulation with SQLite-backed content and session results, plus staff administration and assessment. The main workflow loads simulation content, lets a participant complete cases and make decisions, and stores answers and results for review. A separate ZRD strategy-game experience has its own client, domain engines, and persistence modules. The graph follows documented capabilities and excerpted calls; where runtime wiring is not shown, links are dashed and marked unverified.
Main entry points: session-storage.ts Session storage · db.ts SQLite database · App.tsx App routing · content-storage.ts Content storage
Components 21
App entry
- App routing
client/src/App.tsx - Content snapshot
client/src/lib/runtime-content.ts
Case simulation
- Simulation workspace
client/src/features/simulation/SimulationWorkspace.tsx - Simulation runtime
client/src/features/simulation-engine/SimulationProviderRuntime.tsx - Case content
shared/simulation-content.ts
Staff workflows
- Admin workspace
client/src/features/admin/AdminWorkspaceRuntime.tsx - Assessor workspace
client/src/features/assessor/AssessorWorkspaceRuntime.tsx - Results review
client/src/pages/results.tsx
ZRD game
- ZRD workspace
client/src/features/zrd/ZrdGameWorkspace.tsx - Game actions
client/src/features/zrd/useZrdGame.ts - Match actions
client/src/features/zrd/useZrdMatch.ts - Game engine
shared/zrd/engine.ts - Match engine
shared/zrd/match-engine.ts - Game API client
client/src/features/zrd/zrd-api.ts - Match API client
client/src/features/zrd/zrd-match-api.ts
Persistence
- Content storage
server/content-storage.ts - Session storage
server/session-storage.ts - SQLite database
server/db.ts - ZRD persistence
server/zrd-storage.ts - Match persistence
server/zrd-match-storage.ts
Other components
- Participant
Connections 21
- App routing → Content snapshot: sets snapshot
client/src/App.tsx - App routing → Participant: routes to
- Participant → Simulation workspace: starts session
- Simulation workspace → Simulation runtime: runs through
- Simulation runtime → Session storage: persists results
- App routing → Content storage: loads content
- Content storage → SQLite database: reads and writes
server/content-storage.ts - Session storage → SQLite database: reads and writes
server/session-storage.ts - Admin workspace → Content storage: manages cases
README.md - Assessor workspace → Session storage: reviews sessions
README.md - Results review → Session storage: views results
README.md - ZRD workspace → Game actions: uses actions
- ZRD workspace → Match actions: uses match actions
- Game actions → Game API client: calls
client/src/features/zrd/useZrdGame.ts - Match actions → Match API client: calls
client/src/features/zrd/useZrdMatch.ts - Game engine → Case content: uses content
shared/zrd/engine.ts - Match engine → Case content: uses content
shared/zrd/match-engine.ts - Game API client → ZRD persistence: sends requests
- Match API client → Match persistence: sends requests
- ZRD persistence → SQLite database: reads and writes
server/zrd-storage.ts - Match persistence → SQLite database: reads and writes
server/zrd-match-storage.ts