Skip to content

An OpenAI gym multi-agent environment implementing the Commons Game proposed in "A multi-agent reinforcement learning model of common-pool resource appropriation"

License

Notifications You must be signed in to change notification settings

tiagoCuervo/CommonsGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an OpenAI gym implementation of the Commons Game, a multi-agent environment proposed in A multi-agent reinforcement learning model of common-pool resource appropriation using pycolab as game engine.

Installation

To install cd to the directory of the repository and run pip install -e .

Usage

The file example.py contains a simple usage example where you can modify the number of agents and the size of its field of vision. To run the example cd to the directory of the repository and run python example.py. You should see something like this:

About

An OpenAI gym multi-agent environment implementing the Commons Game proposed in "A multi-agent reinforcement learning model of common-pool resource appropriation"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages