You inherit a few hectares of land and play it across years against weather, market prices, and the seasonal arithmetic of what each crop actually needs to grow. The engine is a pure-TypeScript deterministic simulation with a Mulberry32 RNG; the renderer is a programmatic 16×16 pixel-art tileset on Pixi.js 8. The web app is statically prerendered with the renderer dynamically imported, so Pixi stays out of the initial bundle. Built as a probe of how far an AI-built game can go when the simulation engine is the actual hard part and the rendering is mostly carpentry.
04
PROJECT
Status
Shipped
Stack
- / Next.js
- / Pixi.js
- / TypeScript
- / Zustand
Smallholding
A small farm against four seasons and a fickle market.
Browser-based farm simulator. Twelve crops, four seasons, weather that respects each crop's temperature and water profile, livestock, equipment, a market with price history and demand, and field health. Turn-based and deterministic — replays from the same seed produce identical farms.