{"id":18249015,"url":"https://github.com/samplec0de/battleship","last_synced_at":"2025-04-08T19:56:04.431Z","repository":{"id":138049434,"uuid":"426775063","full_name":"samplec0de/Battleship","owner":"samplec0de","description":"Console Battleship game in java. Supports both arguments run and interactive run.","archived":false,"fork":false,"pushed_at":"2021-11-10T21:01:18.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T15:49:47.011Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/samplec0de.png","metadata":{"files":{"readme":"ReadMe.txt","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}},"created_at":"2021-11-10T21:00:10.000Z","updated_at":"2021-11-10T21:01:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"818a3192-8705-46a7-9338-ed5acbf52948","html_url":"https://github.com/samplec0de/Battleship","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/samplec0de%2FBattleship","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samplec0de%2FBattleship/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samplec0de%2FBattleship/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samplec0de%2FBattleship/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samplec0de","download_url":"https://codeload.github.com/samplec0de/Battleship/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247918927,"owners_count":21018044,"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-11-05T09:38:56.594Z","updated_at":"2025-04-08T19:56:04.409Z","avatar_url":"https://github.com/samplec0de.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Уважаемый пользователь, программа интерактивна и сопровождает все действия подробным описанием,\nпоэтому вы можете не читать данный файл пока не возникли вопросы!\nСреди разработчиков существует мнение, что лучше написать код так, чтобы пользователь понял всё без инструкции.\nАвтор этой реализации игры \"Морской бой\" следовал данному мнению.\n\nСостояния ячеек:\n. - не атакована\nх - атакована, корабля нет\nо - атакована, есть корабль\nB - потоплен Battleship\nC - потоплен Carrier/Cruiser (в зависимости от количества клеток)\nD - потоплен Destroyer\nS - потоплен Submarine\n\nКонсольный режим:\nПри работе в консольном режиме, вам необходимо передать ВСЕ аргументы:\n--rows=\u003cInteger\u003e - число строк поля\n--columns=\u003cInteger\u003e - число столбцов поля\n--ships=\u003cInteger\u003e,\u003cInteger\u003e,\u003cInteger\u003e,\u003cInteger\u003e,\u003cInteger\u003e - количество кораблей:\nвсего 5 типов, от самого длинного к самому короткому? от 5 до 1 ячеек)\n--recovery=yes/no - включить режим восстановления кораблей\n--torpedoes=\u003cInteger\u003e - количество торпед\n\nПример: java -jar Game.jar --rows=5 --columns=10 --ships=3,0,0,0,0 --recovery=no --torpedoes=4\n\nЕсли вам не понятен смысл параметров, запустите игру без параметров, в процессе получите подробное описание.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamplec0de%2Fbattleship","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamplec0de%2Fbattleship","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamplec0de%2Fbattleship/lists"}