How lutikri/web-3dgame1 works
OperatorGame is a browser-based first-person fusion-reactor operations game. The player enters through boot/preflight and the app’s shift-selection flow, explores Site-12, consults the in-world terminal, operates the physical FCU-16 panel, and receives a scored Shift Report; progression and saves support later shifts. The map also preserves the documented onboarding, bilingual UI, audio, lighting, and rendering capabilities. Paths come from the supplied tree; only selected modules were sampled, so unsampled subsystem wiring is shown only where README capabilities support the relationship.
Main entry points: LevelSceneBuilder.js Site-12 scenes · AppShell.js App shell · LevelRuntimeManager.js Level lifecycle · FusionCoreSimulation.js Fusion simulation
Components 23
App and progression
- Boot and preflight
src/main.js - App shell
src/app/AppShell.js - App routing
src/app/AppRouter.js - Progress and saves
src/app/AppPersistence.js
Levels and world
- Shift definitions
src/levels/LevelRegistry.js - Level lifecycle
src/runtime/LevelRuntimeManager.js - Site-12 scenes
src/scene/LevelSceneBuilder.js - World prefab behaviors
src/prefabs/behaviors - First-person control
src/player/PlayerController.js - World interactions
src/interactions/ItemInteractionRuntime.js
Reactor operation
- Fusion simulation
src/FusionCoreSimulation.js - Physical control panel
src/panels/OperatorPanelRuntime.js - Shift lifecycle
src/game/ShiftLifecycleRuntime.js - Shift report
src/game/ShiftReport.js
UI and terminal
- Report presentation
src/ui/ShiftResultsController.js - Terminal interaction
src/prefabs/behaviors/ServiceTerminalInteractionRuntime.js - Terminal renderer
src/prefabs/behaviors/ServiceTerminalCanvasRenderer.js - Terminal content
src/app/panels/ServiceTerminalContent.js - Shift terminal data
src/app/panels/ServiceTerminalShiftConfig.js
Runtime presentation
- Audio systems
src/audio/AudioRuntime.js - Lighting systems
src/lighting/LightingRuntime.js - Post-processing
src/postprocessing/PostProcessingRuntime.js
Other components
- Operator
Connections 24
- Operator → Boot and preflight: starts game
- Boot and preflight → App shell: creates app
- App shell → App routing: routes screens
- App shell → Progress and saves: tracks progression
- Operator → App shell: selects shift
- App routing → Level lifecycle: transitions levels
- Shift definitions → Level lifecycle: supplies shifts
- Level lifecycle → Site-12 scenes: loads scene
- Site-12 scenes → World prefab behaviors: builds world
- Operator → First-person control: moves and looks
- First-person control → World interactions: targets objects
- World interactions → Physical control panel: activates controls
- Physical control panel → Fusion simulation: sets reactor inputs
- Fusion simulation → Physical control panel: updates instruments
- Shift lifecycle → Fusion simulation: evaluates operation
- Shift lifecycle → Shift report: builds outcome
- Shift report → Report presentation: renders metrics
- Operator → Terminal interaction: opens terminal
- Terminal interaction → Terminal renderer: handles focus
- Terminal renderer → Terminal content: requests content
- Terminal content → Shift terminal data: reads shift data
- Site-12 scenes → Lighting systems: presents spaces
- Site-12 scenes → Audio systems: presents sound
- Site-12 scenes → Post-processing: renders scene