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 ๐