https://github.com/timf34/ssds
https://github.com/timf34/ssds
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/timf34/ssds
- Owner: timf34
- License: mit
- Created: 2022-04-07T17:19:10.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-12T01:05:12.000Z (about 4 years ago)
- Last Synced: 2025-01-16T21:25:37.828Z (over 1 year ago)
- Language: Python
- Size: 372 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Update:
I merged the files over from `ppo-harvest`.
I also changed the gym `regiser` function so that its directly within the
scripts that run. For some reason, I was getting path issues potentially,
I'm not too sure tbh. But its working now!
-----
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](https://arxiv.org/abs/1707.06600) using [pycolab](https://github.com/deepmind/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:
