{"id":20573597,"url":"https://github.com/timf34/harvest-commonsgames","last_synced_at":"2025-09-21T07:07:40.096Z","repository":{"id":41088316,"uuid":"508244984","full_name":"timf34/Harvest-CommonsGames","owner":"timf34","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-04T15:34:43.000Z","size":392,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T21:25:43.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timf34.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-28T10:00:28.000Z","updated_at":"2022-06-28T10:01:59.000Z","dependencies_parsed_at":"2022-07-30T20:18:13.971Z","dependency_job_id":null,"html_url":"https://github.com/timf34/Harvest-CommonsGames","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timf34%2FHarvest-CommonsGames","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timf34%2FHarvest-CommonsGames/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timf34%2FHarvest-CommonsGames/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timf34%2FHarvest-CommonsGames/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timf34","download_url":"https://codeload.github.com/timf34/Harvest-CommonsGames/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242189707,"owners_count":20086612,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T05:28:16.808Z","updated_at":"2025-09-21T07:07:35.051Z","avatar_url":"https://github.com/timf34.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Newest update\n\nSetting up the environment...\n\nIn WSL/ Linux, run:\n\n    ```. wsl_venv/bin/activate```\n\nIn Windows, run:\n\n    ```. wsl_venv/Scripts/activate```\n\n### Update:\n\nI merged the files over from `ppo-harvest`... (did I??? Coming back to this now I can't see it)\n\nI also changed the gym `regiser` function so that its directly within the \nscripts that run. For some reason I was getting path issues potentially, \nI'm not too sure tbh. But its working now! \n\nI'm not sure which environment I was even using for running this! And its taking me a minute to see which one now! \nLabel what environment I am using and everything esle I need to get stuff going \n\n-----\n\nThis 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.\n\n## Installation\n\nTo install `cd` to the directory of the repository and run `pip install -e .`\n\n## Usage\n\nThe 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:\n\n![](example.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimf34%2Fharvest-commonsgames","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimf34%2Fharvest-commonsgames","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimf34%2Fharvest-commonsgames/lists"}