How youssof33/nasa-space-apps-no-risk-no-fun works
SpaceX is a browser-based space-mission design game. Players select a mission, review its brief, configure a spacecraft, then fly the designed mission and receive a report. The graph also preserves the documented 3D scene, deterministic evaluation, and optional party-room capabilities. Edges use the supplied excerpts, source-index references, or README statements; several implementation details are unsampled, so uncertain connections are omitted.
Main entry points: App.tsx App router · DesignScreen.tsx Design bench · LaunchScreen.tsx Flight and report · BriefScreen.tsx Mission brief
Components 23
Mission experience
- App router
source/src/app/App.tsx - Mission select
source/src/app/screens/ScenarioSelectScreen.tsx - Mission brief
source/src/app/screens/BriefScreen.tsx
Design and evaluation
- Mission catalogs
source/src/data/catalogs.ts - Design bench
source/src/app/screens/DesignScreen.tsx - Design integration
source/src/integration/design.ts - Design parts data
source/src/integration/hussein/data.ts - Mission evaluator
source/src/engine/evaluation.ts - Mission physics
source/src/engine/physics.ts - Mission rules
source/src/integration/missions.ts
Flight and visualization
- Flight and report
source/src/app/screens/LaunchScreen.tsx - Flight integration
source/src/integration/flight.ts - Eclipse model
source/src/integration/eclipse.ts - Stage integration
source/src/integration/stage.ts - 3D design stage
source/src/viz/DesignStage.ts - Spacecraft model
source/src/viz/spacecraft/Spacecraft.ts - Shell 3D scenes
source/src/viz/SceneManager.ts - Scene assets
source/src/viz/assets.ts
Party mode
- Party lobby
source/src/multiplayer/party.ts - Party interface
source/src/multiplayer/PartyModal.tsx - Party room service
source/worker/index.ts
Other components
- Player
- Party participants
Connections 25
- Player → App router: uses
README.md - App router → Mission select: routes to
source/src/app/App.tsx - App router → Mission brief: routes to
source/src/app/App.tsx - App router → Design bench: routes to
source/src/app/App.tsx - App router → Flight and report: routes to
source/src/app/App.tsx - Mission select → Mission brief: selects mission
README.md - Mission brief → Design bench: continues to
README.md - Mission brief → Mission rules: reads mission
source/src/app/screens/BriefScreen.tsx - Design bench → Design integration: updates design
source/src/app/screens/DesignScreen.tsx - Design bench → Mission evaluator: previews design
README.md - Design bench → 3D design stage: renders bench
source/src/app/screens/DesignScreen.tsx - Design bench → Spacecraft model: shows spacecraft
source/src/app/screens/DesignScreen.tsx - Design integration → Design parts data: uses parts
source/src/app/screens/DesignScreen.tsx - Mission evaluator → Mission physics: calculates with
source/src/engine/evaluation.ts - Mission evaluator → Mission catalogs: evaluates against
source/src/engine/evaluation.ts - Flight and report → Flight integration: runs flight
- Flight and report → Eclipse model: models eclipse
- Flight and report → Stage integration: uses stages
- Flight and report → Spacecraft model: flies designed craft
README.md - Mission select → Shell 3D scenes: shows 3D scene
- Shell 3D scenes → Scene assets: loads textures
source/src/viz/SceneManager.ts - Party participants → Party interface: opens lobby
README.md - App router → Party interface: shows modal
source/src/app/App.tsx - Party interface → Party lobby: uses lobby logic
- Party lobby → Party room service: calls party API
README.md