A next idea that i want to try is having a sort of message board amongst my bot modules, so purchase, combat move, non combat move, ect. they can share requirements or requests with each other. Each module would run recursively on a loop and try to reach a consensus about the shape of the turn before doing anything.
There would have to be some type of executive module to harmonize everything to prevent infinite recursion. The bot would therefore formulate a plan for the turn before doing anything. After combat, non combat move and placement would have to run again, going off of the actual battle results and decide where the plan needs changing.
I'll ask Claude if he can build something like that the next time I get some more tokens.