How corpuzceazar09-cmd/nodex works
This is a browser-based logic-gates and cabling learning game. Players start in the game flow, choose a learning tier, work through level challenges, and track completion; separate experiences provide gate study, circuit practice, a breadboard sandbox, and participant evaluation. GameProvider coordinates player state and persistence. The map is based on the supplied tree and indexed references; several routes and the bedroom experience were not sampled, so their internal wiring is not inferred.
Main entry points: GameProvider.tsx Game state provider · circuits/page.tsx Circuit challenges · [levelId]/page.tsx Level challenge · LabClient.tsx Interactive gate lab
Components 27
Game progression
- Start and onboarding
app/page.tsx - Tier selection
app/difficulty/page.tsx - Tier map
app/map/[tier]/page.tsx - Level challenge
app/level/[levelId]/page.tsx - Tier briefing
app/briefing/[tier]/page.tsx - Tier completion
app/complete/[tier]/page.tsx
Learning activities
- Interactive gate lab
app/lab/LabClient.tsx - Circuit challenges
app/circuits/page.tsx - Circuit workbench
components/circuit/MovableWorkbench.tsx - Wiring board
components/cabling/WiringBoard.tsx - Breadboard sandbox
components/sandbox/SandboxClient.tsx - Bedroom scene
app/bedroom/page.jsx
Player state
- Game state provider
components/GameProvider.tsx - Local save storage
lib/storage.ts - Progress calculations
lib/progress.ts
Learning content
- Gate reference data
lib/data/gates.ts - Tier definitions
lib/data/tiers.ts - Level challenges
lib/data/levels.ts - Cabling content
lib/data/cabling.ts - Topic content
lib/data/topics.ts - Circuit scenarios
lib/data/circuits.ts - Logic evaluator
lib/logic.ts
Evaluation
- Assessment content
lib/data/assessment.ts - Evaluation flow
app/evaluation/page.tsx - Survey
app/evaluation/survey/page.tsx - Evaluation export
lib/evaluationExport.ts
Other components
- Player
Connections 31
- Player → Start and onboarding: starts
- Start and onboarding → Tier selection: continues
- Tier selection → Game state provider: selects tier
app/difficulty/page.tsx - Tier map → Game state provider: reads progress
app/map/[tier]/page.tsx - Tier map → Level challenge: opens level
- Level challenge → Level challenges: loads challenge
app/level/[levelId]/page.tsx - Level challenge → Wiring board: renders wiring
app/level/[levelId]/page.tsx - Level challenge → Game state provider: records progress
app/level/[levelId]/page.tsx - Tier briefing → Gate reference data: renders gate details
app/briefing/[tier]/page.tsx - Tier briefing → Tier definitions: loads tier
app/briefing/[tier]/page.tsx - Tier completion → Game state provider: reads completion
app/complete/[tier]/page.tsx - Interactive gate lab → Game state provider: marks explored
app/lab/LabClient.tsx - Interactive gate lab → Gate reference data: loads gate
app/lab/LabClient.tsx - Interactive gate lab → Circuit workbench: renders workbench
app/lab/LabClient.tsx - Circuit challenges → Circuit scenarios: loads scenarios
app/circuits/page.tsx - Circuit challenges → Logic evaluator: evaluates circuit
app/circuits/page.tsx - Circuit challenges → Circuit workbench: renders workbench
app/circuits/page.tsx - Circuit challenges → Game state provider: records completion
app/circuits/page.tsx - Wiring board → Cabling content: loads cabling data
components/cabling/WiringBoard.tsx - Game state provider → Local save storage: loads and saves
components/GameProvider.tsx - Game state provider → Progress calculations: provides progress
components/PlayerPanel.tsx - Game state provider → Tier definitions: uses tier definitions
components/GameProvider.tsx - Game state provider → Gate reference data: uses gate definitions
components/GameProvider.tsx - Game state provider → Topic content: uses topic definitions
components/GameProvider.tsx - Evaluation flow → Game state provider: reads evaluation state
app/evaluation/page.tsx - Evaluation flow → Evaluation export: exports results
app/evaluation/page.tsx - Survey → Assessment content: loads survey content
app/evaluation/survey/page.tsx - Survey → Game state provider: records responses
app/evaluation/survey/page.tsx - Game state provider → Assessment content: uses assessment types
components/GameProvider.tsx - Player → Bedroom scene: enters scene
- Player → Breadboard sandbox: opens sandbox