/GameTheory

Game theory simulation of a cooperative game

Primary LanguageJavaMIT LicenseMIT

Cooperate or not?

Using a simple java simulation we study a model of cooperative games.

alt text

The phase diagram obtained by simulating the dynamics for various [P, T] pairs (400 x 400 to be exact) stopping at the 250th time step and plotting the strategy having the largest population fraction.

Getting Started

There are no external dependencies required in order to play around with the model parameters. The Java code utilizes basic libraries found in any modern java JDK. However, in order to plot the results one needs a plotting tool that can go along with java code.

Prerequisites

Nothing to install. Add the Java classes to your existing project.

Running the tests

Currently there is no testing environment.

Contributing

Feel free to contributing. As for now, there are no specific requirements for contributing.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details