{"id":34794992,"url":"https://github.com/simonhdickson/erlship","last_synced_at":"2026-05-24T22:34:05.775Z","repository":{"id":153580966,"uuid":"8250437","full_name":"simonhdickson/ErlShip","owner":"simonhdickson","description":"Battleships written in Erlang","archived":false,"fork":false,"pushed_at":"2013-03-27T23:21:36.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-26T21:49:41.434Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonhdickson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-17T12:42:33.000Z","updated_at":"2013-10-06T03:06:40.000Z","dependencies_parsed_at":"2023-04-19T11:04:06.153Z","dependency_job_id":null,"html_url":"https://github.com/simonhdickson/ErlShip","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simonhdickson/ErlShip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonhdickson%2FErlShip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonhdickson%2FErlShip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonhdickson%2FErlShip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonhdickson%2FErlShip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonhdickson","download_url":"https://codeload.github.com/simonhdickson/ErlShip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonhdickson%2FErlShip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33453557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-24T19:21:36.376Z","status":"ssl_error","status_checked_at":"2026-05-24T19:21:10.562Z","response_time":57,"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":[],"created_at":"2025-12-25T10:39:34.574Z","updated_at":"2026-05-24T22:34:05.745Z","avatar_url":"https://github.com/simonhdickson.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"ErlShip\n=======\n\nBattleships written in Erlang\n\nEasiest way to get this going, load up terminal:\n\n\tcd(/checkoutLocation).\n \tc(battleship).\n\nTo set the game going (where 10 is the size of the grid, and [2,3,5] are the sizes of the ships.)\n\n\tGame = battleship:game(10,[2,3,5]).\n\nTo make a shot:\n\n\tbattleship:shoot(Game, {1,2}).\n\nHave fun!\n\nAI\n==\n\nJust added AI support so if you run:\n\n\tbattleship:game().\n\t\nTwo AIs will play each other.\n\nEven though it would be far more useful to be able to play against the AI, that doesn't actually\nwork... (I just thought it was cooler to have two AIs...)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonhdickson%2Ferlship","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonhdickson%2Ferlship","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonhdickson%2Ferlship/lists"}