egttools.games¶
API reference documentation for the games
submodule.
Classes
Abstract class which must be implemented by any new game. |
|
Abstract N-Player Game. |
|
This abstract Game class can be used in most scenarios where the fitness of a strategy is calculated as its expected payoff given the population state. |
|
Collective Risk Dilemma. |
|
This class implements a One-Shot Collective Risk Dilemma. |
|
Abstract N-Player Game. |
|
Common Pool resource game with commitment, but the threshold is set as another strategy :type group_size: |
|
Game of informal risk sharing. |
|
Holder class for 2-player games for which the expected payoff between strategies has already been calculated. |
|
Holder class for N-player games for which the expected payoff between strategies has already been calculated. |
|
This game is based on the article Pacheco et al., ‘Evolutionary Dynamics of Collective Action in N -Person Stag Hunt Dilemmas’. |
|
Overloaded function. |
|
One-Shot Collective Risk Dilemma (CRD). |
|
Classical Public Goods game with only 2 possible contributions (o or cost). |