Closed economy
Fifty agents trade a single good. Producers manufacture it each tick and post asks. Consumers earn wages, post bids, then eat. If they cannot consume their requirement, health falls; at zero they leave the market.
Price formation
The book matches highest bids to lowest asks. Trades print at the bid/ask midpoint, then policy (floor, ceiling, tax, subsidy) is applied. Unfilled imbalance nudges the quote by the volatility setting.
Traders & the printer
Healthy, well-capitalized consumers may stockpile and resell. One assigned agent can inject cash each tick, which typically lifts bids, inventories, and wealth inequality.
Shortcuts
Space runs or pauses, Right Arrow steps one tick, R resets, S opens settings, E exports JSON. Shortcuts are ignored while typing in a field.