How scorzy/idlespace2 works
IdleSpace2 is an Angular idle space game. The principal runtime is the game model: it advances production and queued work, while progression systems update research, fleets, combat, challenges, prestige, and automation. The UI and MainService provide the player-facing application and save/platform boundary. The README identifies Angular, but does not detail feature wiring; edges below are limited to relationships visible in excerpts or the SOURCE INDEX, so several UI-to-domain links are omitted.
Main entry points: game.ts Game State · jobManager.ts Job Queues · resourceManager.ts Resources & Units · researchManager.ts Research & Tech
Components 19
Application
- Game Interface
src/app/app.component.ts - Main Service
src/app/main.service.ts
Game Runtime
- Game State
src/app/model/game.ts - Resources & Units
src/app/model/units/resourceManager.ts - Job Queues
src/app/model/job/jobManager.ts - Bonus Calculation
src/app/model/bonus/bonusStack.ts
Progression
- Research & Tech
src/app/model/researches/researchManager.ts - Challenges
src/app/model/challenge/challengeManager.ts - Achievements
src/app/model/achievements/achievementManager.ts - Prestige
src/app/model/prestige/prestigeManager.ts - Spells & Warp
src/app/model/computing/computingManager.ts
Space Operations
- Shipyard
src/app/model/shipyard/shipyardManager.ts - Enemy Search & Battle
src/app/model/enemy/enemyManager.ts - Space Stations
src/app/model/space/spaceStationManager.ts - Automation
src/app/model/automation/automationManager.ts
Game Systems
- Statistics
src/app/model/stats/statsManager.ts - Notifications
src/app/model/notifications/notificationManager.ts
Other components
- Player
- PlayFab Services
Connections 22
- Player → Game Interface: interacts
- Main Service → Game State: imports
src/app/main.service.ts - Game State → Resources & Units: initializes
src/app/model/game.ts - Game State → Research & Tech: initializes
src/app/model/game.ts - Game State → Shipyard: initializes
src/app/model/game.ts - Game State → Enemy Search & Battle: initializes
src/app/model/game.ts - Game State → Space Stations: advances work
src/app/model/game.ts - Game State → Automation: initializes
src/app/model/game.ts - Game State → Spells & Warp: initializes
src/app/model/game.ts - Game State → Challenges: starts challenge
src/app/model/game.ts - Game State → Prestige: imports
src/app/model/game.ts - Game State → Statistics: initializes
src/app/model/game.ts - Game State → Notifications: initializes
src/app/model/game.ts - Resources & Units → Bonus Calculation: uses bonuses
src/app/model/units/resourceManager.ts - Resources & Units → Notifications: adds notifications
src/app/model/units/resourceManager.ts - Research & Tech → Job Queues: extends manager
src/app/model/researches/researchManager.ts - Research & Tech → Bonus Calculation: creates bonuses
src/app/model/researches/researchManager.ts - Shipyard → Job Queues: uses job manager
src/app/model/shipyard/shipyardManager.ts - Enemy Search & Battle → Job Queues: uses job manager
src/app/model/enemy/enemyManager.ts - Space Stations → Job Queues: uses job manager
src/app/model/space/spaceStationManager.ts - Main Service → PlayFab Services: calls account API
- Game State → Main Service: sends platform stats
src/app/model/game.ts