@dzaima And for some Godforsaken reason it doesn't work!!
I swear there's some bug somewhere in my framework... There has to be.
Your solution is as logically feasible as they get. There's something somewhere else.
So the whole idea of this is pretty simple. If a left-worker brings food, spawn a right-worker. Flip otherwise. That means that when a lot of workers come from the right side, a lot of workers will get created on the left side, and so on and so forth.
What could possibly not work here...?
And I swear, on the same seed, without the first check, everything is fine.
And upping the limit just delays the inevitable. Suddenly, more workers decide to come back from the side lines.
Hmm, maybe the balancing power is limited by the rate-limiting...
And I can't even check it with console.log()
, because caching!
Finally! I managed to confirm that this "bug" is actually a feature of rate-limiting... So I can't rate-limit. Whoopsie.
Now, back to your random, genius idea. I need to test it out!
Some serious imperfections are appearing, but I can probably fix them. Oh my god this is glorious. That was an insane idea, @dzaima!
Actually, this will require quite a major rework, but still!