PatLang Hex RTS

A small hex-grid economy sim, running entirely in this tab. Left-click a unit to select it. Right-click a tile to send the selected unit there -- a resource tile (gold, with a number) starts an automatic gather loop: the unit paths there, harvests up to its carry capacity, paths home, deposits, and repeats until that tile runs dry. Press B to enter build mode, then left-click a grass tile to place a trainer (costs banked ore; once built it periodically spends more ore to produce new workers). No combat, one faction -- an open sandbox, not a scored game. See the Paradigms Guide and self_hosting/lib/hexrts.patlang for the design: a pure step(state, orders) -> new_state function, with the browser carrying the current snapshot forward one tick at a time rather than replaying history.

Ore: --

loading...