{"id":20110438,"url":"https://github.com/remarkablegames/asteroids","last_synced_at":"2026-05-10T01:41:41.310Z","repository":{"id":92231683,"uuid":"334753192","full_name":"remarkablegames/asteroids","owner":"remarkablegames","description":"👾 Asteroids game","archived":false,"fork":false,"pushed_at":"2021-02-06T00:52:37.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"gh-pages","last_synced_at":"2025-01-13T05:42:06.577Z","etag":null,"topics":["asteroids","game","javascript","p5js","p5play","website"],"latest_commit_sha":null,"homepage":"https://remarkablegames.org/asteroids/","language":"JavaScript","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/remarkablegames.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-31T20:45:02.000Z","updated_at":"2024-02-25T18:26:04.000Z","dependencies_parsed_at":"2023-06-08T02:30:40.196Z","dependency_job_id":null,"html_url":"https://github.com/remarkablegames/asteroids","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/remarkablegames%2Fasteroids","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablegames%2Fasteroids/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablegames%2Fasteroids/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablegames%2Fasteroids/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remarkablegames","download_url":"https://codeload.github.com/remarkablegames/asteroids/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241550484,"owners_count":19980739,"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":["asteroids","game","javascript","p5js","p5play","website"],"created_at":"2024-11-13T18:11:48.090Z","updated_at":"2025-11-29T04:03:23.533Z","avatar_url":"https://github.com/remarkablegames.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# asteroids\n\n[![Run on Repl.it](https://repl.it/badge/github/remarkablegames/asteroids)](https://repl.it/github/remarkablegames/asteroids)\n![GitHub last commit](https://img.shields.io/github/last-commit/remarkablegames/asteroids)\n\n[Asteroids game](https://remarkablegames.org/asteroids/) from [p5.play examples](https://molleindustria.github.io/p5.play/examples/index.html?fileName=asteroids.js). See [Repl.it](https://repl.it/talk/share/Asteroids/118514) and [blog post](https://remarkablegames.org/posts/asteroids/).\n\nBuilt with:\n\n- HTML/CSS/JS\n- [p5.js](https://p5js.org/)\n- [p5.play](https://molleindustria.github.io/p5.play/)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://remarkablegames.org/asteroids/screenshot.png\" alt=\"Asteroids screenshot\" width=\"500\"\u003e\n\u003c/p\u003e\n\n## Run\n\nClone repository:\n\n```sh\ngit clone https://github.com/remarkablegames/asteroids.git\ncd asteroids\n```\n\nStart a static server:\n\n```sh\npython -m SimpleHTTPServer\n```\n\nOpen http://localhost:8000/:\n\n```sh\nopen http://localhost:8000/\n```\n\nTo stop the server, press `Ctrl + C`.\n\n## Changelog\n\n### Bug Fixes\n\n- Decrease `ship` and `particle` friction so they can move\n- Improve text readability by giving it a stroke and putting it in front of the layers\n\n### Features\n\n- Render the game full screen\n- Generate asteroids based on screen size\n- Destroy the ship on asteroid collision\n- Improve bounding box collision detection\n- Improve ship speed\n- Randomize the speed of sprites (asteroids and particles)\n- Control ship using arrow keys or WAD; fire bullet with space\n\n### Chore\n\n- Refactor to local scope so globals aren't polluted\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremarkablegames%2Fasteroids","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremarkablegames%2Fasteroids","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremarkablegames%2Fasteroids/lists"}