GPU-accelerated simulation with spatial harshness variation
The grid has varying harshness from left (benign) to right (harsh). In easy environments (left), selfish agents dominate. In harsh environments (right), altruists survive better by clustering. Watch spatial segregation emerge!