{"id":13724940,"url":"https://github.com/selectel/sql-battleships","last_synced_at":"2025-04-30T16:17:52.271Z","repository":{"id":82719826,"uuid":"293269679","full_name":"selectel/sql-battleships","owner":"selectel","description":"[Community] Play Battleships on PostgreSQL","archived":false,"fork":false,"pushed_at":"2020-09-22T07:25:23.000Z","size":1176,"stargazers_count":186,"open_issues_count":0,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-30T16:17:43.614Z","etag":null,"topics":["community","docker","postgresql","sql"],"latest_commit_sha":null,"homepage":"https://habr.com/ru/company/selectel/blog/519010/","language":"PLpgSQL","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/selectel.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":"2020-09-06T12:13:09.000Z","updated_at":"2025-01-11T22:44:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"a24f6461-72cf-4e3d-ac57-e80377672cc1","html_url":"https://github.com/selectel/sql-battleships","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/selectel%2Fsql-battleships","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectel%2Fsql-battleships/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectel%2Fsql-battleships/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectel%2Fsql-battleships/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/selectel","download_url":"https://codeload.github.com/selectel/sql-battleships/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251739677,"owners_count":21635893,"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":["community","docker","postgresql","sql"],"created_at":"2024-08-03T01:02:07.453Z","updated_at":"2025-04-30T16:17:52.248Z","avatar_url":"https://github.com/selectel.png","language":"PLpgSQL","readme":"# SQL Battleships\n\n![](res/gameplay.gif)\n\nArticles:\n- https://selectel.ru/blog/seabattle-postgresql/\n- https://habr.com/ru/company/selectel/blog/519010/\n\n## Requirements \n\n- postgresql 12.4\n- docker (optional)\n\n## Running server in docker\n\n```\ndocker build -t sql-battleships .\ndocker run -p 5432:5432 sql-battleships\n``` \n\n## Starting the game\n\n```\npsql -U postgres \u003c\u003c\u003c'call screen_loop()' \u0026 psql -U postgres\n```","funding_links":[],"categories":["PLpgSQL"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselectel%2Fsql-battleships","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselectel%2Fsql-battleships","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselectel%2Fsql-battleships/lists"}