{"id":50731364,"url":"https://github.com/deadronos/asteroid-canvas-react","last_synced_at":"2026-06-10T09:01:15.077Z","repository":{"id":358168655,"uuid":"1239783125","full_name":"deadronos/asteroid-canvas-react","owner":"deadronos","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-16T02:27:47.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-16T04:41:52.055Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/deadronos.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-15T12:41:53.000Z","updated_at":"2026-05-16T02:27:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/deadronos/asteroid-canvas-react","commit_stats":null,"previous_names":["deadronos/asteroid-canvas-react"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/deadronos/asteroid-canvas-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Fasteroid-canvas-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Fasteroid-canvas-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Fasteroid-canvas-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Fasteroid-canvas-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deadronos","download_url":"https://codeload.github.com/deadronos/asteroid-canvas-react/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Fasteroid-canvas-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34144680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":[],"created_at":"2026-06-10T09:01:14.115Z","updated_at":"2026-06-10T09:01:15.068Z","avatar_url":"https://github.com/deadronos.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Asteroid Canvas React\n\nVite + React + TypeScript scaffold for a third-person ship prototype built around data-driven ship definitions, Miniplex entity queries, Rapier physics, and Zustand-powered HUD state.\n\n## Run\n\n```bash\nnpm install\nnpm run dev\n```\n\n## Current slice\n\n- One configurable starter ship: `cruiser`\n- Configurable ship systems: hull, armor, shield, turrets, engines, thrusters\n- Third-person chase camera with direct player control\n- Random asteroid spawning around the player\n- Manual forward cannon fire plus toggleable turret auto-target/auto-fire\n- Miniplex for the gameplay world, Rapier for body simulation, Zustand for HUD/UI state\n\n## Controls\n\n- `W` / `S` or `ArrowUp` / `ArrowDown`: accelerate and brake\n- `A` / `D`: strafe left and right\n- `Q` / `E` or `ArrowLeft` / `ArrowRight`: yaw the ship\n- `Space`: fire the forward cannon\n- `T`: toggle turret auto-target and auto-fire\n\n## Project shape\n\n```txt\nsrc/\n  App.tsx\n  game/\n    Game.tsx                  React Three Fiber scene and HUD\n    config/\n      ships.ts                Data-driven ship blueprints\n    core/\n      createGameSession.ts    Miniplex world + Rapier systems\n      types.ts                Shared gameplay types\n    ui/\n      useHudStore.ts          Zustand HUD state\n```\n\n## Next scaffold steps\n\n- Split systems from `createGameSession.ts` into ship, asteroid, projectile, and combat modules\n- Add more ship blueprints and a ship selection flow\n- Move rendering from primitive meshes to reusable ship/component prefabs\n- Add score, waves, pickups, and damage feedback\n- Add integration tests around spawning, collision, and turret targeting\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadronos%2Fasteroid-canvas-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeadronos%2Fasteroid-canvas-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadronos%2Fasteroid-canvas-react/lists"}