Skip to content

zemo-g/agent-command-center

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEXUS COMMAND

License: MIT React Vite

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.

Quickstart

npm install
npm run dev

Open http://localhost:3000

Game Systems

Resources

  • 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

Buildings (8 types, up to 10 levels)

Fusion Reactor, Quantum Array, Agent Bay, Neural Forge, Ops Center, Shield Grid, Data Vault, Quantum Core

Agents

Recruit AI agents, send them on missions, watch them gain XP and level up. Each agent has a unique callsign.

Research (4 tracks × 4 tiers)

  • Power Systems — Energy production bonuses
  • Quantum Computing — Cycle production + mission speed
  • Command & Control — More agents and mission slots
  • Cyber Defense — Event damage reduction

Missions (12 missions × 4 tiers)

From basic Reconnaissance to the Singularity Protocol. Each tier unlocks after completing 3 missions from the previous tier.

Events

Random events every 45-90 seconds — power surges, data caches, security breaches, time dilations. Shield Grid and Cyber Defense research reduce bad event impact.

Progression

5 tiers: Outpost → Station → Command Center → Fleet HQ → Nexus. Prestige at max tier for permanent production multipliers.

Stack

  • 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)

Architecture

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.

Save System

Auto-saves to localStorage every 30 seconds. Manual save via the 💾 button. Saves persist across browser sessions.

License

MIT

About

RTS-inspired command center for real hardware. Train models, deploy services, manage fleet — every action is real compute producing real assets. Red Alert meets your GPU.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors