Low framerate inciting virii to 'merge'
**Observation:
**
Frame rate is inversely proportional to the total population of enemies in a level.
**
Theoretical solution:
**
Have nearby virii merge when the framerate is too low, and split when it is too high; When merging two virii, mark the ratio of their strengths, add to the first the strength of the second, then remove the second. When splitting, reverse this process using the ratio stored in the flags of the post-merge virus. Introduce a "should i merge/split now?" loop into each virii, with a randomized delay between checks and a coin flip true/false decision. Unbalance the coin flip, with the odds in favor of the result that approaches the target framerate.
Notes:
-
Deimos Rising reduces the visual complexity of the game automatically if the frame rate drops too low.
-
The loss of challenge from multiple incoming targets is replace by the challenge of fighting much stronger targets (10 strong worms is as hard as 20 strong worms).
- Darwinia uses the simultaneous decisions of independent stick figures results to create human-seeming stick figures that wander, attack, fight battles, and operate machinery using independent decisions driven by their environment.