Egg, Inc. — Mission Control
A faithful-mechanics idle game tribute with a 3D isometric farm, built in React + Three.js, playable in a single session.
A full-fidelity tribute to Egg, Inc. mechanics rendered as a 3D isometric low-poly farm with all core systems modeled: 19-egg prestige ladder, research trees, artifacts, contracts, drones, missions, and the signature shipping vs. laying bottleneck. Numbers are compressed so the entire progression arc plays in a session.
- React 19
- TypeScript 5.7
- Three.js 0.184
- Tailwind CSS 4.1
- Vite 6
- react-icons
This is a full-screen, local-only web game that reconstructs Egg, Inc. as a 3D isometric farm (green fields, dirt path, streaming white chickens, red silos, barns, drones). The UI floats as a translucent overlay HUD with egg progress, currencies, production gauges, and a dock of panel buttons — exactly mirroring the original layout. All core mechanics are modeled faithfully: the hatchery → chickens → habitats → eggs → vehicles → cash pipeline; the permanent prestige economy (Soul Eggs + Prophecy Eggs); the full Common and Epic research trees (full wiki lists, cost-compressed); boosts, drones, rockets/missions, artifacts with rarities and sockets, contracts, colleggibles, and the Path of Virtue endgame gate.
The architecture cleanly separates game engine (pure TypeScript simulation in `/game/`, zero dependencies) from Three.js 3D rendering (low-poly meshes merged by material to keep draw calls low) and React UI overlays. The store uses a mutable state object + version counter to notify React cheaply during idle gameplay's many mutations per second. The 3D scene runs its own render loop independent of React, reading live game state each frame and updating chicken positions, drone spawns, and habitat visibility.
The prestige curve mirrors the real game exactly, and every system — from egg-value multipliers to the offline catch-up math with silo-gated returns — is factually modeled. A Codex panel flags what's full vs. representative (e.g. contracts and co-op are simplified). Save data lives in `localStorage` with export/import for portability. The game is authored as a personal learning tribute and uses Egg, Inc. community wiki icons for eggs and colleggibles (with attribution).
- 19-egg ladder + Enlightenment egg gated by Farm Value; full prestige curve (Soul Eggs, Prophecy Eggs, Earnings Bonus formula)
- Order of Magnitude number formatting with exact wiki symbols; 100+ Common research tiers + Epic research trees (full real list, cost-compressed)
- 3D isometric low-poly farm with streaming chicken AI, mergeable meshes by material for GPU efficiency, interactive drone drones and clickable hatching VFX
- Boosts, drones, rockets with tier-based loot, artifacts (rarity/tier/sockets + Clarity Stone effects), contracts with grade progression
- Offline catch-up capped by silos with decaying flock math; seasonal colleggible events; localStorage autosave with export/import