Find the trade loop that makes unlimited gold before players do
Buy cheap here, sell dear there, repeat: one wrong price and your economy is broken within a day of release. Instead of reading the price list by eye, your AI can try every sequence of moves and show the shortest one that goes too far.
Why this works
An economy is a set of small steps, and a hole in it is a chain of steps that ends up with more than it began with. Trying every sequence from the shortest up finds the quickest way to the hole, which is the one players find first.
When not to use it
Skip it when the economy has too many items, prices that move with supply, or other players trading, because the number of cases explodes and the search never ends. Check rates and profit per cycle on small slices instead.
In the full entry
- What to build, step by step
- Starting values and the reason for each
- 3 common mistakes and the fix
- 46 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 "Find the trade loop that makes unlimited gold before players do" (read_entry economy-exploit-shortest-path-search) 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