  Situations of conflict giving rise to social dilemmas are widespread in
society and game theory is one major way in which they can be investigated.
Starting from the observation that individuals in society interact through
networks of acquaintances, we model the co-evolution of the agents' strategies
and of the social network itself using two prototypical games, the Prisoner's
Dilemma and the Stag Hunt. Allowing agents to dismiss ties and establish new
ones, we find that cooperation and coordination can be achieved through the
self-organization of the social network, a result that is non-trivial,
especially in the Prisoner's Dilemma case. The evolution and stability of
cooperation implies the condensation of agents exploiting particular game
strategies into strong and stable clusters which are more densely connected,
even in the more difficult case of the Prisoner's Dilemma.
