Spielerando

Send each villager to a different free workbench, nearest first

When many villagers want the same few workbenches, letting them choose one after another favours whoever is first in the list and leaves the rest walking across the village. Here is a way to hand out the places that keeps the walking short.

Why this works

If workers choose one after another, the first in line wins a spot that would suit a neighbour far better. Looking at every pairing at once and settling the closest first makes the result depend on the layout, not on who happened to come first.

When not to use it

Not enough when the total walking really must be the smallest, or when workers have skills and only some can use some benches. Then match by skill first, and use a proper matching method only if the saving is worth the effort.

In the full entry

  • What to build, step by step
  • Starting values and the reason for each
  • 4 common mistakes and the fix
  • A diagram of every state
  • 18 lines of example code with 4 checks that pass
  • How your AI shows you that it works

Say this to your AI

Use the Spielerando entry "Send each villager to a different free workbench, nearest first" (read_entry survival-workers-pick-stations-fairly) in my game. Build it step by step, and show me how you checked that it works.

Or skip this and connect the MCP: your AI then finds all of this by itself.Connect the MCP