This is very much a prototype. If I were making an actual game, I’d approach a lot of this differently.
For example, I’d build a map editor so I could quickly tweak the AI-generated map myself.
No reason to spend ~20k tokens just to move a house off the train tracks 😉