{"id":21574615,"url":"https://github.com/magiccube/cart-pole-js","last_synced_at":"2026-04-13T23:33:15.084Z","repository":{"id":148258461,"uuid":"131798550","full_name":"MagicCube/cart-pole-js","owner":"MagicCube","description":"The classic Cart Pole game implemented in JavaScript, and powered by TensorFlow.js.","archived":false,"fork":false,"pushed_at":"2019-03-27T14:08:05.000Z","size":83,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T06:48:08.224Z","etag":null,"topics":["ai","cartpole","gym","javascript","reinforcement-learning","tensorflow","tensorflow-js"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/MagicCube.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-02T04:35:49.000Z","updated_at":"2025-02-09T04:34:21.000Z","dependencies_parsed_at":"2023-05-19T13:30:41.948Z","dependency_job_id":null,"html_url":"https://github.com/MagicCube/cart-pole-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MagicCube/cart-pole-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicCube%2Fcart-pole-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicCube%2Fcart-pole-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicCube%2Fcart-pole-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicCube%2Fcart-pole-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MagicCube","download_url":"https://codeload.github.com/MagicCube/cart-pole-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicCube%2Fcart-pole-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31775872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ai","cartpole","gym","javascript","reinforcement-learning","tensorflow","tensorflow-js"],"created_at":"2024-11-24T12:10:33.677Z","updated_at":"2026-04-13T23:33:15.077Z","avatar_url":"https://github.com/MagicCube.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cart-pole-js\n\nThe classic Cart Pole game implemented in JavaScript, and powered by TensorFlow.js.\n\n\n## About Cart Pole Game\n\nThe [Cart Pole](https://github.com/openai/gym/wiki/CartPole-v0) game is the classic 'Hello World' for [Reinforcement Learning](https://en.wikipedia.org/wiki/Reinforcement_learning).\nA pole is attached by an un-actuated joint to a cart, which moves along the ground.\nThe system is controlled by applying a force vector of [+1, 0] or [-1, 0] to the cart.\nA slight but random pendulum starts immediately after the game begins, and the goal is to prevent the pole from falling down.\n\n---\n\n\n## How to Install\n\n```sh\nnpm install\n```\n\n\n## How to Run\n\n\n```sh\nnpm start\n```\n\nVisit http://localhost:8088\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiccube%2Fcart-pole-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagiccube%2Fcart-pole-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiccube%2Fcart-pole-js/lists"}