# GigaSlop: Compute Tycoon Factorio meets Software Inc., wrapped in a satirical sim of the AI slop economy. Start with a budget PC in your bedroom generating $0.40/day of AI spam videos; end up draining the county grid to feed slop-generation clusters. **Stack:** TypeScript + Vite + PixiJS v8. The simulation (`src/sim/`) is a deterministic fixed-tick (10 Hz) module with zero renderer dependencies — the Pixi layer (`src/render/`) and DOM HUD (`src/ui/`) just read state. ## Run ```bash npm install npm run dev # http://localhost:5173 ``` ## Play (Tier 1 slice) - You start with a PC, desk, and router. Press **W**, click the PC, then the router to wire them — slop production starts. - Watch the **breaker** (1400 W bedroom circuit): trip it and your training checkpoint corrupts. - Heat is spatial. Hot PCs throttle at 85°C; fans spread heat around, the window AC deletes it. - Uplink caps monetizable tokens — saturated cables mean dropped slop. - The **TRAIN/INFER** slider trades cash now (inference → videos → ad revenue) for model tiers later (higher revenue multipliers). ## Art pipeline All art is generated on the local MODELBEAST farm (`tools/mb_gen.py`): FLUX for the room shell + hardware sprites (bg-removed, autocropped), and the in-game slop thumbnails are genuine SD/FLUX slop — the game about AI slop is made of actual AI slop. Titles baked to `src/data/sloptitles.json`. ## Layout ``` src/sim/ balance.ts (all tunables) · catalog.ts (hardware defs) state.ts · sim.ts (step, place/wire/sell commands) src/render/ iso.ts (grid↔screen mapping) · scene.ts (Pixi world) src/ui/ hud.ts + hud.css (DOM dashboards, shop, SlopTube feed) tools/ mb_gen.py (MODELBEAST batch art generation) ```