{"id":19388510,"url":"https://github.com/vuldin/nrpi-battleship","last_synced_at":"2026-04-29T09:02:43.720Z","repository":{"id":146506660,"uuid":"97132586","full_name":"vuldin/nrpi-battleship","owner":"vuldin","description":"A simple Raspberry PI Battleship game connected to Node-RED","archived":false,"fork":false,"pushed_at":"2017-07-13T19:20:56.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-25T19:04:59.430Z","etag":null,"topics":["bluemix","dashdb","node-red","python","raspberry-pi"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/vuldin.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}},"created_at":"2017-07-13T14:35:42.000Z","updated_at":"2017-07-13T19:22:48.000Z","dependencies_parsed_at":"2023-07-14T05:45:45.501Z","dependency_job_id":null,"html_url":"https://github.com/vuldin/nrpi-battleship","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vuldin/nrpi-battleship","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuldin%2Fnrpi-battleship","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuldin%2Fnrpi-battleship/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuldin%2Fnrpi-battleship/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuldin%2Fnrpi-battleship/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vuldin","download_url":"https://codeload.github.com/vuldin/nrpi-battleship/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuldin%2Fnrpi-battleship/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32418173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["bluemix","dashdb","node-red","python","raspberry-pi"],"created_at":"2024-11-10T10:12:51.148Z","updated_at":"2026-04-29T09:02:43.704Z","avatar_url":"https://github.com/vuldin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nrpi-battleship\n*Node-RED-Pi-Battleship*\n\nThis app builds on the work done in [SenseHAT_Battleships](https://github.com/TeCoEd/SenseHAT_Battleships).\n\n## Updates\n[SenseHAT_Battleships](https://github.com/TeCoEd/SenseHAT_Battleships) was a good starting point, but we wanted a few different features.\nSome changes up to this point are:\n- remove finding ammo\n- add multiplayer\n- improve boat representation placement\n- improve the rendering of correct pixel state\n- database persistence\n\n## Node-RED\n*This code is not yet in this repo*\n\n[Node-RED](https://nodered.org/) provides the server, which in turn provides the following features:\n- where each player's boats are placed\n- collecting shot coordinates from each player\n- persisting these shot coordinates in [dashDB](https://www.ibm.com/analytics/us/en/technology/cloud-data-services/dashdb/)\n- sending shot result (hit or miss) to the attacker and defender\n\n## Dashboard\n*This code is not yet in this repo*\n\nThe dashboard reads the [dashDB](https://www.ibm.com/analytics/us/en/technology/cloud-data-services/dashdb/)\n\n## Usage\n###\n```bash\npip install pygame requests\ngit clone https://github.com/vuldin/nrpi-battleship.git\ncd nrpi-battleship\n./runmain.sh\n```\nThe `runmain.sh` script will attempt to start the python app as root using sudo.\nThis is done since the app needs to initialize the pygame display within a framebuffer.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvuldin%2Fnrpi-battleship","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvuldin%2Fnrpi-battleship","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvuldin%2Fnrpi-battleship/lists"}