it would also make the game cheaper if you figure out
les[s] computationally intensive algos to win.
Yes but a player who was an absolute shite programmer could just throw their bank account at the problem.While my O(n) solution maybe eloquent, they can afford O(n^n) so provided our _players_ make the same outcome the algorithmic complexity is irrelevant if you can afford it.
The game uses a soft turn based _ticks_ timer. So provided your O(n^n) solution can execute in 1 tick. Their is no difference.
I don't think you're giving your hypothetical shite programmer enough credit here.
Seems to model reality fairly well.
Screeps has a speech API?
It worked on you!
There aren't (yet) any public codebases which have a handle on endgame combat. It's still more or less competitive after 2 months of play.
CPU-Wise, if you pay the compute time is tied to your account level, with a hard-cap if you're level 30 (there are still only a few players that have achieved this, it takes many months)