{"id":13935811,"url":"https://github.com/xinleipan/gym-gridworld","last_synced_at":"2026-03-13T19:58:15.369Z","repository":{"id":64108296,"uuid":"93674302","full_name":"xinleipan/gym-gridworld","owner":"xinleipan","description":"Simple grid-world environment compatible with OpenAI-gym","archived":false,"fork":false,"pushed_at":"2020-03-19T22:58:35.000Z","size":39,"stargazers_count":49,"open_issues_count":2,"forks_count":22,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-27T03:34:49.836Z","etag":null,"topics":["gridworld","openai-gym"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xinleipan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-07T19:58:35.000Z","updated_at":"2024-07-11T14:13:59.000Z","dependencies_parsed_at":"2022-12-05T06:06:16.201Z","dependency_job_id":null,"html_url":"https://github.com/xinleipan/gym-gridworld","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xinleipan/gym-gridworld","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinleipan%2Fgym-gridworld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinleipan%2Fgym-gridworld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinleipan%2Fgym-gridworld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinleipan%2Fgym-gridworld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xinleipan","download_url":"https://codeload.github.com/xinleipan/gym-gridworld/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinleipan%2Fgym-gridworld/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266019657,"owners_count":23864916,"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":["gridworld","openai-gym"],"created_at":"2024-08-07T23:02:06.744Z","updated_at":"2026-03-13T19:58:15.320Z","avatar_url":"https://github.com/xinleipan.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# gym-gridworld\n\nBasic implementation of gridworld game \nfor reinforcement learning research. This environment is used in the following paper:\n\n[How You Act Tells a Lot: Privacy-Leakage Attack on Deep Reinforcement Learning](https://arxiv.org/abs/1904.11082)\n\nConsider cite the paper:\n\n```\n@inproceedings{pan2019you,\n  author    = {Xinlei Pan and\n               Weiyao Wang and\n               Xiaoshuai Zhang and\n               Bo Li and\n               Jinfeng Yi and\n               Dawn Song},\n  title     = {How You Act Tells a Lot: Privacy-Leaking Attack on Deep Reinforcement\n               Learning},\n  booktitle = {Proceedings of the 18th International Conference on Autonomous Agents\n               and MultiAgent Systems, {AAMAS}},\n  pages     = {368--376},\n  publisher = {International Foundation for Autonomous Agents and Multiagent Systems},\n  year      = {2019},\n}\n```\n\n## Install gym-gridworld\n\ninstall virtual environment for gridworld\n\n    cd gym-gridworld\n    conda env create -f environment.yml\n    conda activate gridworld\n    pip install -e .\n\n## Use gym-gridworld\n    \n    import gym\n    import gym_gridworld\n    env = gym.make('gridworld-v0')\n    _ = env.reset()\n    _ = env.step(env.action_space.sample())\n    \n## Visualize gym-gridworld\nIn order to visualize the gridworld, you need to set `env.verbose` to `True`\n\n    env.verbose = True\n    _ = env.reset()\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxinleipan%2Fgym-gridworld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxinleipan%2Fgym-gridworld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxinleipan%2Fgym-gridworld/lists"}