{"id":26881838,"url":"https://github.com/bobgeis/js-space-rocks","last_synced_at":"2026-04-08T18:31:32.850Z","repository":{"id":71039277,"uuid":"97387954","full_name":"bobgeis/js-space-rocks","owner":"bobgeis","description":"Asteroids in javascript: https://bobgeis.github.io/js-space-rocks/","archived":false,"fork":false,"pushed_at":"2017-09-03T02:33:50.000Z","size":1503,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T16:07:50.582Z","etag":null,"topics":["asteroids","game","immutable","javascript","react","redux"],"latest_commit_sha":null,"homepage":"","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/bobgeis.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":"2017-07-16T14:15:36.000Z","updated_at":"2022-10-03T13:17:01.000Z","dependencies_parsed_at":"2023-06-06T20:45:32.099Z","dependency_job_id":null,"html_url":"https://github.com/bobgeis/js-space-rocks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bobgeis/js-space-rocks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobgeis%2Fjs-space-rocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobgeis%2Fjs-space-rocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobgeis%2Fjs-space-rocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobgeis%2Fjs-space-rocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bobgeis","download_url":"https://codeload.github.com/bobgeis/js-space-rocks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobgeis%2Fjs-space-rocks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31568586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["asteroids","game","immutable","javascript","react","redux"],"created_at":"2025-03-31T15:58:45.239Z","updated_at":"2026-04-08T18:31:32.843Z","avatar_url":"https://github.com/bobgeis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# js-space-rocks\n\nThis is a learning project made while learning javascript.  It's an asteroids clone, because whenever one learns a new language, it's fun to make a game in it, and I happen to like asteroids.\n\n[__Play it here.__](http://bobgeis.github.io/js-space-rocks/)\n\n\n## Controls\n\nKeyboard:\n* LEFT (or A) and RIGHT (or D) rotate the player ship\n* UP (or W) accelerates the player ship\n* DOWN (or S) reverses\n* SPACE fires the disintegrator\n* P pauses, ENTER unpauses\n* Z activates the Omega 13: \"Enough time to undo a single mistake\" Note that if charged, you can use this even if your ship is destroyed.\n* ENTER starts the game, restarts on destruction (remember to try Z if you can)\n* U resets the high score to all zeros\n\n\n## Objectives\n\nOh no! Some hooligans are dumping space rocks in to Subspace Locus 1457 again!\n\nLuckily, a dedicated rescue and rock-buster ship is already prepped and on-site.  That's you!\n\n* Try to keep Subspace Locus 1457 safe for travelers.\n* If any ships get hit by rocks, pick up their lifepods and deliver them to the medbay in the North East quadrant for treatment.\n* If you pick up any crystalline minerals from busting rocks, deliver those to the prospector base in the South West quadrant for analysis.\n* If you get into a jam, hopefully you have enough charge on your Omega-13 to try again.  Good luck!\n\n\n## Attributions\n\nBackground image of Carina Nebula is available [here](https://commons.wikimedia.org/w/index.php?search=carina+nebula\u0026title=Special:Search\u0026go=Go\u0026uselang=en\u0026searchToken=79al97qlirmupg5bpga22jvj2#/media/File:Carina_Nebula.jpg).  Credit to [ESO/T. Preibisch](http://www.eso.org/public/images/eso1208a/) used under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).\n\nAll other sprites were made by the programmer.\n\n\n## Developers\n\nDownload or clone this repo onto your local drive, then cd into the folder containing package.json and ```yarn``` or ```npm install```.\n\n* For a hot reloading dev server: ```yarn start``` or ```npm start``` and go to http://localhost:3000 in your browser.\n* For the minified bundle: ```yarn prod``` or ```npm run prod``` and then open index.html in your browser.\n\n\n## Influences\n\nAsteroids and similar games (eg: Escape Velocity, Endless Sky, etc).\n\nPrevious practice projects in other languages (eg [Elm](https://github.com/bobgeis/LookOutSpaceRocks), [CoffeeScript](https://github.com/bobgeis/coffeeAsteroids)).\n\nAnother implementation of asteroids in React. [link](https://github.com/chriz001/Reacteroids)\n\nVarious Redux examples. [link](https://github.com/reactjs/redux/tree/master/examples)\n\nA Redux Immuble TodoMVC example. [link](https://github.com/phacks/redux-todomvc)\n\nA Redux Undo TodoMVC example. [link](https://github.com/omnidan/redux-undo/tree/master/examples/todos-with-undo)\n\nThe Elm Graphics.Collage library. [link](https://github.com/evancz/elm-graphics)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobgeis%2Fjs-space-rocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbobgeis%2Fjs-space-rocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobgeis%2Fjs-space-rocks/lists"}