{"id":17250689,"url":"https://github.com/statusfailed/halite2","last_synced_at":"2025-03-26T06:43:01.822Z","repository":{"id":145119747,"uuid":"119603044","full_name":"statusfailed/halite2","owner":"statusfailed","description":"An abandoned Halite II library + simple bot","archived":false,"fork":false,"pushed_at":"2018-01-30T22:36:09.000Z","size":37,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T08:19:04.351Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/statusfailed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-01-30T22:33:37.000Z","updated_at":"2018-09-18T21:47:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"3206865b-205a-406b-8043-ad710079edbc","html_url":"https://github.com/statusfailed/halite2","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/statusfailed%2Fhalite2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fhalite2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fhalite2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fhalite2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/statusfailed","download_url":"https://codeload.github.com/statusfailed/halite2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245605709,"owners_count":20643030,"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":[],"created_at":"2024-10-15T06:49:20.433Z","updated_at":"2025-03-26T06:43:01.797Z","avatar_url":"https://github.com/statusfailed.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Halite Bot\n\nA bot and client library for [halite.io](https://www.halite.io).\n\nCurrently done:\n\n- [ ] Port of Nuka\n- [x] Types\n- [x] Networking\n  - [x] Parsers\n  - [x] Tests\n  - [x] Commands\n- [x] Geometry\n  - [x] `calculateDistanceBetween :: Entity -\u003e Entity -\u003e Double`\n  - [x] `lineIntersectsCircle :: Line -\u003e Circle -\u003e Maybe (Point, Point)`\n  - [x] `segmentIntersectsCircle`\n  - [x] `obstaclesBetween :: GameMap -\u003e Entity -\u003e Entity -\u003e [Entity]`\n- [ ] Game functions\n  - [x] ship.closestPointTo(entity)\n  - [x] ship.navigate(position, speed)\n  - [ ] `navigateTo` tests\n  - [x] `ship.can_dock(planetId)`\n  - [x] `ship.dock(planetId)`\n  - [ ] tests\n  - [ ] What's with all the fudge factors!? (closestDockingPoint and intersectLineEntity)\n  - [ ] Fix broken navigation code (obstacle detection not working - see greedyBot)\n- [ ] Framework\n  - [x] State/Reader monad for writing bots\n  - [ ] add Writer to monad transformer for logging / commands?\n  - [x] entity typeclass\n  - [ ] sanitize bot name, otherwise it might break networking\n- [ ] Test framework\n  - [x] Switch to Tasty\n  - [ ] Add SmallCheck tests for geometry\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatusfailed%2Fhalite2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstatusfailed%2Fhalite2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatusfailed%2Fhalite2/lists"}