{"id":18717069,"url":"https://github.com/mell62/battleship","last_synced_at":"2026-04-08T20:47:19.390Z","repository":{"id":259738499,"uuid":"879291631","full_name":"mell62/battleship","owner":"mell62","description":"The classic game of battleship, computer-coded into digital reality.","archived":false,"fork":false,"pushed_at":"2024-11-29T18:58:03.000Z","size":268,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-19T13:10:59.582Z","etag":null,"topics":["babel","css","dom-manipulation","eslint","esmodules","flexbox","grid","html","jest","test-driven-development","webpack"],"latest_commit_sha":null,"homepage":"https://mell62.github.io/battleship/","language":"JavaScript","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/mell62.png","metadata":{"files":{"readme":"README.md","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,"zenodo":null}},"created_at":"2024-10-27T14:24:07.000Z","updated_at":"2025-01-30T19:15:33.000Z","dependencies_parsed_at":"2024-10-27T18:14:54.594Z","dependency_job_id":"cfba08e0-3dd8-4f76-948b-edaa14bf907b","html_url":"https://github.com/mell62/battleship","commit_stats":null,"previous_names":["mell62/battleship"],"tags_count":0,"template":false,"template_full_name":"mell62/template-repo","purl":"pkg:github/mell62/battleship","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mell62%2Fbattleship","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mell62%2Fbattleship/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mell62%2Fbattleship/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mell62%2Fbattleship/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mell62","download_url":"https://codeload.github.com/mell62/battleship/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mell62%2Fbattleship/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31573788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"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":["babel","css","dom-manipulation","eslint","esmodules","flexbox","grid","html","jest","test-driven-development","webpack"],"created_at":"2024-11-07T13:14:41.572Z","updated_at":"2026-04-08T20:47:19.364Z","avatar_url":"https://github.com/mell62.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Battleship\n\nThe classic game of battleship, implemented using HTML, CSS, JavaScript, webpack and Jest testing framework, showcasing the power of test-driven development.\n\nCheck it out :point_right:[here!](https://mell62.github.io/battleship/):point_left:\n\n![webpage-screenshot](./src/images/screenshot.png)\n\n## :joystick: Features\n\n- Select desired ship and hover and click over friendly board to place it; option to rotate ship is available by clicking on direction button\n- Ships cannot be placed adjacent to each other\n- Turn-based attack mechanism: When the player makes an attack, the game enters a waiting period until computer finishes its attack.\n\n## :tada: Achievements\n\n- **Webpack** is utilized for the bundling of code of multiple files through ES6 Modules and minification\n- **Jest** testing framework is used for unit testing game logic, ensuring integrity and bug-resistant code\n- **Test-driven-development** principles practised through Jest, ensuring high-quality code\n\n## :grey_exclamation: Limitations\n\n- Tests not implemented for UI integration\n- Player vs player not implemented\n\n## :magic_wand: Extras!\n\n- Realistic intelligence implemented for computer attacks\n- Appropriate icons and game messages is displayed for each type of attack\n\n## :page_with_curl: Note\n\n- Modern normalize is used for cross-browser consistency\n- ESLint is used for code analysis\n- Babel is used to transpile code for compatibility with older browsers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmell62%2Fbattleship","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmell62%2Fbattleship","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmell62%2Fbattleship/lists"}