{"id":19829050,"url":"https://github.com/marcaureln/pong-ml-agents","last_synced_at":"2026-05-20T07:12:09.209Z","repository":{"id":198095239,"uuid":"700064917","full_name":"marcaureln/pong-ml-agents","owner":"marcaureln","description":"This is a simple implementation of the Pong game using the Unity ML-Agents Toolkit.","archived":false,"fork":false,"pushed_at":"2023-10-04T11:03:55.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T21:07:51.478Z","etag":null,"topics":["game","ml-agents","pong","unity","unity2d"],"latest_commit_sha":null,"homepage":"","language":"C#","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/marcaureln.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,"governance":null}},"created_at":"2023-10-03T21:51:32.000Z","updated_at":"2023-10-04T11:06:53.000Z","dependencies_parsed_at":"2023-10-04T11:56:16.969Z","dependency_job_id":null,"html_url":"https://github.com/marcaureln/pong-ml-agents","commit_stats":null,"previous_names":["marcaureln/pong-ml-agents"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marcaureln/pong-ml-agents","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcaureln%2Fpong-ml-agents","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcaureln%2Fpong-ml-agents/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcaureln%2Fpong-ml-agents/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcaureln%2Fpong-ml-agents/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcaureln","download_url":"https://codeload.github.com/marcaureln/pong-ml-agents/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcaureln%2Fpong-ml-agents/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267883834,"owners_count":24160234,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["game","ml-agents","pong","unity","unity2d"],"created_at":"2024-11-12T11:17:38.075Z","updated_at":"2026-05-20T07:12:09.168Z","avatar_url":"https://github.com/marcaureln.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pong-ml-agents\n\nThis is a simple implementation of the Pong game using the [Unity ML-Agents Toolkit](https://github.com/Unity-Technologies/ml-agents).\nThe goal is to train an agent to play Pong against another agent. And then, to play against the trained agent.\nIf you want to learn more about ML-Agents, you can check out this [ML-Agents tutorial by Code Monkey](https://www.youtube.com/watch?v=zPFU30tbyKs).\n\n![Screenshot of the editor](screenshot.png)\n\n## Getting Started\n\nFor this project, you will need to install Unity and the ML-Agents Toolkit.\n\n### Setting Up Your Development Environment\n\n1. Install [Unity](https://unity.com/)\n2. Install [Anaconda](https://www.anaconda.com/) (optional, you can use virtualenv instead, but make sure to use Python 3.8)\n3. Clone this repo: `git clone https://github.com/marcaureln/pong-ml-agents.git`\n4. Open the project in Unity\n\n### Setting Up ML-Agents Toolkit\n\nYou can find detailed installation instructions [here](https://github.com/Unity-Technologies/ml-agents/blob/develop/docs/Installation.md).\n\n1. Install the `com.unity.ml-agents` Unity package (in Unity, go to `Window \u003e Package Manager` and search for `ml-agents`)\n2. Install the `mlagents` Python package. you can do this by running the following commands in your terminal:\n\n```bash\n# Create a Conda environment with Python 3.8\nconda create -n ml-agents python=3.8\n# Activate environment\nconda activate ml-agents\n# Install mlagents Python package  \npip3 install mlagents==0.30.0\n# If you are having issues with protobuf, try installing this version\npip3 install protobuf==3.20.3\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcaureln%2Fpong-ml-agents","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcaureln%2Fpong-ml-agents","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcaureln%2Fpong-ml-agents/lists"}