packages/examples/game-of-life/README.md
A multi-agent evolution simulation demonstrating elizaOS's ability to run autonomous agents without an LLM.
TypeScript entry: game.ts (terminal simulation, no LLM).
Agents have DNA (speed, vision, aggression, metabolism) that determines behavior:
Watch emergent behaviors like predator-prey dynamics, population cycles, and evolution of traits!
# Standard mode
bun run examples/game-of-life/game.ts
# Fast mode (10x speed)
bun run examples/game-of-life/game.ts --fast
# With statistics
bun run examples/game-of-life/game.ts --stats
┌─────────────────────────────────────────────────────────┐
│ AgentRuntime │
│ (Anonymous Character) │
├─────────────────────────────────────────────────────────┤
│ plugins: │
│ ├── plugin-sql (persistence) │
│ ├── bootstrap-plugin (basic capabilities) │
│ └── game-of-life-plugin (agent decision handlers) │
├─────────────────────────────────────────────────────────┤
│ Each tick, for each agent: │
│ perceive() → decide() → act() → evolve() │
│ │
│ All decisions made algorithmically (no LLM!) │
└─────────────────────────────────────────────────────────┘