_top_ - Insect Prison Game

# Create insects ant = Insect("Ant") beetle = Insect("Beetle")

3.1 Slave-Making Ants (Formica sanguinea) Empirical data show that F. sanguinea rarely kills defending F. fusca workers. Instead, they employ a "Contain" strategy: they raid pupae, bring them back, and the eclosing adults function as prison laborers. In IPG terms, Escalate (killing all defenders) yields short-term gain but loss of future labor. Contain yields long-term net benefit (V - M) > (V - C_c) when M is low. insect prison game

[Generated for Academic Purposes] Journal: Journal of Theoretical Biology & Game Ecology (Hypothetical) # Create insects ant = Insect("Ant") beetle =

import random

The "Insect Prison Game" is a novel theoretical framework that synthesizes principles of evolutionary game theory with the behavioral ecology of eusocial and territorial insects. Unlike classical models such as the Prisoner’s Dilemma, which focus on binary cooperation versus defection, the Insect Prison Game introduces a tripartite strategic space: Escalate (Fight), Submit (Retreat), or Contain (Imprison). This paper defines the game’s payoff matrix based on empirical observations of ant raiding behavior, parasitic wasp host manipulation, and termite colony defense. We demonstrate that under conditions of resource scarcity and high relatedness, the "Contain" strategy becomes an evolutionarily stable state (ESS), leading to the formation of living prisons—functional but subjugated colonies. The model predicts that insect prisons emerge not as a pathology of conflict but as an optimal solution to the cost-benefit asymmetry of total annihilation. Instead, they employ a "Contain" strategy: they raid