Farm Valley
A top-down farming sim where you don't play so much as watch AI farmers play. A field of BDI-driven farmers plant, harvest, fish, forage, and trade across 100 in-game days, chasing gold. You can step in as Pip — but the drama is emergent, not scripted.
The cast
Four named archetypes are the protagonists, each a distinct deliberation
strategy; the rest of the field are archetype clones (Cora-0, Atticus-1, …)
on procedurally-generated farm islands.
Cora — conservative
Atticus — aggressive
Hannah — hoarder
Otto — opportunist
How a farmer thinks
Each farmer is a Belief–Desire–Intention agent on a daily action-point
budget, running a per-tick PERCEIVE → ACT FSM. DeliberateSystem scores every
option — farming and non-farm work (fishing, foraging, mining) — in the same
gold-per-AP unit, emitting an Intention queue that ActSystem drains.
Skill-gated scoring means ~10 of 21 farmers lean non-farm while farming stays the
most common #1 choice — diversity without hand-authoring.
Pip, the playable farmer
Pip is a real farmer entity — same components as the AI — tagged
personality.kind: "pip" plus a player component. The only difference:
intentions come from the keyboard, not the deliberator. PlayerControlSystem
runs before ActSystem; movement is free (not AP-gated), but actions still
obey AP, tool, and proximity (Chebyshev ≤1) rules. The whole GUI — inspect card,
drag-from-world hotbar, diegetic HUD — renders through the game-agnostic
@engine/ui toolkit.
How it runs
server-side sim WebSocket transport
Uniquely among the four games, Farm Valley runs its sim server-side in a
Node SimHost. The browser client opens a WebSocket, receives one
RenderSnapshot per tick, and interpolates between the latest two. Input crosses
the socket behind an owner gate — spectators can watch, but can't drive Pip.
Deep detail lives in the corpus: Overview, World generation, Player & interaction.