Outbreak 3D (Ant Farm): Autonomous Human-Zombie Colony & Social Drama Simulation Game
30 Autonomous Survivors10-Factor Emotion & Drama AI9 Zombie Mutation ClassesGenerator Blackouts & Seasons3D WebGL + Headless CLI
3D Ant-Farm Colony & Multi-Agent Sim

Outbreak 3D ("Ant Farm"): Autonomous Human-Zombie Colony & Social Drama Simulation Game

Summary

Outbreak 3D ("Ant Farm" — Season Two) is a deterministic, seeded 3D multi-agent survival and social-drama simulation game. Designed as a living glass-box "ant farm," 30 named survivors with distinct backstories, 12 personality archetypes, and 10 dynamic emotional factors autonomously scavenge a procedural 3D town, fortify a walled sanctuary, form romances, cliques, love triangles, and blood feuds, and fight to survive against 9 classes of mutating zombies, winter blizzards, and midnight generator blackouts.

Key Features

  • 10-Factor Emotional Engine & Emergent Social Drama: Every survivor tracks live Fear, Anger, Jealousy, Greed, Paranoia, Pride, Empathy, Loyalty, Hope, and Resentment alongside a $-100 \to +100$ pairwise relationship matrix—driving unscripted romances, ride-or-die best friendships, named cliques, jealousy love triangles, public breakups, ration hoarding, fistfights, and expedition mutinies.
  • Autonomous Colony Infrastructure & Midnight Blackouts: Survivors chop timber, build log palisades, watchtowers, auto-turrets, floodlights, rain catchers, gardens, a med-tent, a workshop, and a diesel generator. If fuel runs dry at night, the camp plunges into a BLACKOUT, disabling floodlights and auto-turrets just as Blood Moon hordes strike.
  • 9 Zombie Classes, Infection Ethics & Med-Tent Amputations: Battle Walkers, Sprinters, Armored Riot-Gear infected, Hulks, Screamers (whose shrieks summon distant zombies), Boomers, Crawlers, Bloated Spitters, and Night Stalkers—while managing latent bite incubation, emergency limb amputations, corpse burial, and camp mascot Roxy the guard dog.
  • Solid 3D Physics, 6 Camera Modes & Interactive Drama Modal: Features AABB building and wall collision with closed-door breach mechanics, 6 camera presets (Overview, Camp Close-Up, Street Level, Top-Down Tactical, Follow Selected, Drama Cam), and a filterable Drama Story Log.
  • God Tools & 1:1 Headless CLI Simulation Parity: Intervene at any moment with Supply Drops, Horde Spawns, Inspiring Broadcasts, Drama Flashpoints, or Cure Synthesizers—or run 500-tick deterministic simulations headlessly from the terminal via tools/test_outbreak.js.

Tech Stack

  • Multi-Agent Simulation Core: Vanilla JavaScript (UMD Node/Browser), Mulberry32 Seeded PRNG, 10-Factor Psychological Utility AI, Pairwise Social Graph & Clique Detector, AABB/Circle Collision Solver
  • 3D Visualization & Audio: Three.js r128 Procedural 3D Town, Articulated Survivor/Zombie Rigging, Dynamic Day/Dusk/Night/Blood-Moon Lighting, Procedural WebAudio Ambience & Combat SFX
  • Backend & Persistence: Python, Flask, Save/Load Snapshot API, Seeded Scenario Presets (Balanced, Overrun City, Last Stand, Social Powderkeg, Winter Famine)
  • Verification: Headless Node CLI Runner & 17-Check Automated Verification Suite (node tools/test_outbreak.js --verify)

Theory & Architecture

Traditional survival games script story beats in advance. Outbreak 3D instead couples survival resource pressure directly into a multi-agent social graph: scarce rations amplify Greed and Resentment, high Jealousy triggers love-triangle confrontations when a partner bonds with a squadmate, and deep Rivalry causes survivors to refuse scavenging orders or abandon teammates under fire—turning the colony into a self-writing soap opera inside a 3D tactical sandbox.