{"id":16662139,"url":"https://github.com/sternenseemann/grav2ty","last_synced_at":"2025-06-13T12:04:51.318Z","repository":{"id":55506217,"uuid":"47033195","full_name":"sternenseemann/grav2ty","owner":"sternenseemann","description":"2d space flight game with realistic physics","archived":false,"fork":false,"pushed_at":"2020-12-29T12:30:51.000Z","size":170,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T21:48:32.971Z","etag":null,"topics":["2d","game","gloss","haskell","haskell-game","physics","simulation","space"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sternenseemann.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-28T17:40:23.000Z","updated_at":"2020-12-25T18:04:59.000Z","dependencies_parsed_at":"2022-08-15T02:00:47.526Z","dependency_job_id":null,"html_url":"https://github.com/sternenseemann/grav2ty","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sternenseemann/grav2ty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sternenseemann%2Fgrav2ty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sternenseemann%2Fgrav2ty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sternenseemann%2Fgrav2ty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sternenseemann%2Fgrav2ty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sternenseemann","download_url":"https://codeload.github.com/sternenseemann/grav2ty/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sternenseemann%2Fgrav2ty/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259642249,"owners_count":22888982,"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":["2d","game","gloss","haskell","haskell-game","physics","simulation","space"],"created_at":"2024-10-12T10:37:06.050Z","updated_at":"2025-06-13T12:04:51.258Z","avatar_url":"https://github.com/sternenseemann.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grav2ty :rocket:\n\n![screenshot of grav2ty showing a spaceship, a planet, an asteroid orbiting and two projectiles](./doc/grav2ty-2019-05-24.png)\n\nthe most realistic asteroids-like game in existence.\n\n## controls\n\n* `up`/`down`: increase/decrease thruster power (ship acceleration)\n* `left`/`right`: rotate ship (counter)-clockwise\n* `c`: toggle centered view\n* `+`/`-`: zoom in/out\n* `space`: fire a projectile\n\n## roadmap\n\n- [x] simulation of gravity\n- [x] controllable spaceship\n- [x] collision detection\n- [ ] make measurements more realistic\n- [x] allow for zooming the viewport\n- [ ] Free viewport (mouse moved)\n- [x] time scaling / fast forward\n- [x] rework HUD, log additional info to console\n  - [ ] Add speed to HUD\n- [x] projectiles\n  - [ ] Limit firerate\n  - [x] make projectiles self-destruct\n- [ ] performance improvements\n  - [ ] don't calculate gravity to every little object\n  - [ ] don't do collision detection at a safe distance\n- [ ] multi player support\n- [ ] Prevent library user from creating a broken state (by hiding lenses etc. if possible)\n- [ ] cosmetics (improved models, stars, …)\n- [ ] switch rendering engine\n- [ ] orbit visualization / prediction\n\n## history\n\n* screenshot of [grav2ty at its first commit](./doc/grav2ty-first-commit.png)\n* the previous attempt [grav1ty](https://github.com/sternenseemann/grav2ty/tree/grav1ty)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsternenseemann%2Fgrav2ty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsternenseemann%2Fgrav2ty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsternenseemann%2Fgrav2ty/lists"}