Growing the terrain…

🌾 Rural Network

Budget leftβ€”
Villages connected0%
Avg. quality of life0%

What you're building

Each cone is a village; the tall gold tower is the district hub β€” the market town every settlement wants a route to. Click one village then another in the 3D scene to build a connection of the currently selected type.

Terrain-aware cost

A connection isn't priced by straight-line distance alone. The engine walks the ground between the two villages in 10 steps, reading the real heightmap under the path, and adds a grade penalty for every steep climb or drop β€” a road across a ravine costs far more than one across flat ground, just like real construction.

The optimal-network hint

Toggle "Show MST hint" to overlay the graph-theoretic Minimum Spanning Tree for the selected infrastructure type β€” computed with Prim's algorithm over every possible village pair, weighted by the same terrain-aware cost. It's the cheapest possible way to link every village into one network. Compare it with what you actually build: your plan may prioritise a poorer village over the mathematically cheapest one.

Road
Electricity
Water

Quality of life

A village's brightness and size reflect its quality-of-life score: it rises when the village is linked to the hub β€” through built infrastructure β€” by road, electricity and water, each contributing roughly a third. Disconnected villages stay dim and small.

Drag a new village onto the map with "+ Add village", then connect it like any other.

Controls

Show MST hint
Click a village, then a second village, to build a connection.
Drag to orbit Β· scroll to zoom Β· click two villages to connect them