{"id":19405065,"url":"https://github.com/pedrofnseca/asteroids","last_synced_at":"2025-09-11T01:37:26.505Z","repository":{"id":231926927,"uuid":"783044856","full_name":"PedroFnseca/asteroids","owner":"PedroFnseca","description":"🚀 Embark on a galactic odyssey! Navigate your spaceship through asteroid fields, dodging and blasting your way to a mysterious nebula. ","archived":false,"fork":false,"pushed_at":"2024-04-14T01:32:22.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T13:12:20.531Z","etag":null,"topics":["game","html","javascript","javascript-game","math","p5js"],"latest_commit_sha":null,"homepage":"https://pedrofnseca.github.io/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/PedroFnseca.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":"2024-04-06T19:35:36.000Z","updated_at":"2024-11-13T20:38:45.000Z","dependencies_parsed_at":"2024-11-10T12:16:26.206Z","dependency_job_id":null,"html_url":"https://github.com/PedroFnseca/asteroids","commit_stats":null,"previous_names":["pedrofnseca/asteroids"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroFnseca%2Fasteroids","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroFnseca%2Fasteroids/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroFnseca%2Fasteroids/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroFnseca%2Fasteroids/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PedroFnseca","download_url":"https://codeload.github.com/PedroFnseca/asteroids/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240582044,"owners_count":19824145,"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":["game","html","javascript","javascript-game","math","p5js"],"created_at":"2024-11-10T11:37:05.473Z","updated_at":"2025-02-25T00:45:14.040Z","avatar_url":"https://github.com/PedroFnseca.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Asteroids Game](https://pedrofnseca.github.io/asteroids/) 🚀🌑\n\nWelcome to Asteroids, the most exciting and fun space adventure game! Here, you'll navigate through the vastness of space, dodging and blasting asteroids to survive. It's a game of skill, precision, and a bit of luck. Ready to embark on this thrilling journey? Let's get started!\n\n---\n\n## How to destroy the asteroids? 🌌\n  - Navigate your spaceship: Use the arrow or WASD keys to move your spaceship around. Be careful not to hit the asteroids!\n\n  - Blast the asteroids: Press the spacebar to shoot. Aim at the asteroids and blast them into smithereens!\n\n  - Survive: The longer you survive and the more asteroids you blast, the higher your score. Aim for the stars (pun intended)!  \n\n  - Game Over: The game ends when you collide with an asteroid. Your final score will be displayed. Try again and beat your high score!\n\n## Have Fun and Enjoy! 🎮🌌\nDisclaimer: Asteroids is not responsible for any addiction that may occur due to excessive playing. Play responsibly!\n\n### [Play the Game](https://pedrofnseca.github.io/asteroids/) 🚀🌑\n\n---\n\n## Technical details\n\nAsteroids is built using a combination of pure JavaScript and the [p5.js](https://p5js.org/) library (and Maizena). \n\n[p5.js](https://p5js.org/) is a JavaScript library that starts with the original goal of Processing, to make coding accessible for artists, designers, educators, and beginners, and reinterprets this for today's web. I use p5.js for rendering the game graphics, handling collisions (with some math), and creating an overall visually appealing \n\nAnd lastly, Maizena. It's not a programming language or a library, it's our secret ingredient! 🌽🌽🌽","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrofnseca%2Fasteroids","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedrofnseca%2Fasteroids","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrofnseca%2Fasteroids/lists"}