A sci-fi RTS command center game. Build infrastructure, recruit AI agents, research technology, and run increasingly dangerous operations to progress from a remote Outpost to the Nexus.
npm install
npm run dev- Energy (⚡) — Generated by Fusion Reactors, consumed by missions
- Compute Cycles (◈) — Generated by Quantum Arrays, consumed by research and missions
- Credits (◇) — Earned from missions, spent on buildings and agents
Fusion Reactor, Quantum Array, Agent Bay, Neural Forge, Ops Center, Shield Grid, Data Vault, Quantum Core
Recruit AI agents, send them on missions, watch them gain XP and level up. Each agent has a unique callsign.
- Power Systems — Energy production bonuses
- Quantum Computing — Cycle production + mission speed
- Command & Control — More agents and mission slots
- Cyber Defense — Event damage reduction
From basic Reconnaissance to the Singularity Protocol. Each tier unlocks after completing 3 missions from the previous tier.
Random events every 45-90 seconds — power surges, data caches, security breaches, time dilations. Shield Grid and Cyber Defense research reduce bad event impact.
5 tiers: Outpost → Station → Command Center → Fleet HQ → Nexus. Prestige at max tier for permanent production multipliers.
- React 18 + Vite — UI framework
- Zustand — State management
- Framer Motion — Animations (available, used sparingly)
- Web Audio API — Synthesized sound effects (no audio files)
- CSS — Full sci-fi theme with starfield, scan lines, CRT vignette, glow effects
- Google Fonts — Orbitron (display), Share Tech Mono (data), Rajdhani (UI)
src/
data/ — Game definitions (buildings, research, missions, events, tiers)
engine/ — Pure game logic (tick processing, resource generation, formulas)
store/ — Zustand store (single source of truth)
audio/ — Web Audio API synthesized sounds
components/ — React UI components
styles/ — CSS theme (1,250 lines of sci-fi goodness)
The game engine is pure functions with no side effects. The store handles I/O (localStorage saves, sound triggers). Components are dumb views.
Auto-saves to localStorage every 30 seconds. Manual save via the 💾 button. Saves persist across browser sessions.
MIT