Skip to content
taliesinb edited this page Oct 17, 2010 · 19 revisions

About the SGT package

SGT is a Mathematica package to unlock effortless explorations in evolutionary spatial game theory. Using SGT, you can setup, conduct and visualize experiments using a small number of functions and symbolic expressions to specify the initial distribution of agents, the strategies they employ, the payoff structure of the games they play, the rules used to update the agents and apply natural selection, whether and how mutation occurs, whether agents have access to more or less information about their opponents, and whether their success depends on global as well as local properties.

About evolutionary spatial game theory

Spatial game theory is a type of model in which agents on a grid compete with their neighbors according to arbitrarily complex strategies. Successful agents spread their strategies to their neighbors according to the degree of their relative success. This is also known as evolutionary game theory, although evolutionary game theory does not necessarily have a spatial component and usually assumes a spatially mixed population in which it is only the relative number of agents of each type/strategy that matter.

Some code + screenshots from SGT

Rock paper scissors

Waves of rock, paper and scissors strategies chase each other around endlessly.

Special initial conditions give rise to what looks very much like the BZ reaction:

Prisoner's dilemma

If the temperature is low enough, defectors cannot penetrate virtuous clusters of co-operators.

Higher temperatures allow fluctuations to infiltrate and destroy clusters of co-operators.

The introduction of a 'neutral' strategy which is the equivalent of "not playing the game" results in quite different dynamics and much more friendliness all around.

Consensus

The Consensus game rewards or punishes each agent in proportion to how common its choice is amongst its neighbors. Local consensi form.

Clone this wiki locally