{"id":19863983,"url":"https://github.com/arthub-j/robocode-player-npcbot","last_synced_at":"2026-04-14T02:31:26.683Z","repository":{"id":217724224,"uuid":"744666541","full_name":"artHub-j/robocode-player-NPCBot","owner":"artHub-j","description":"Robocode player + team strategy. Quarter finals in our class Robocode Competition. Mark: 7.9","archived":false,"fork":false,"pushed_at":"2024-03-29T15:22:12.000Z","size":155,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T00:26:10.207Z","etag":null,"topics":["prop","robocode","upc"],"latest_commit_sha":null,"homepage":"","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/artHub-j.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":"2024-01-17T19:06:39.000Z","updated_at":"2024-04-07T11:25:42.000Z","dependencies_parsed_at":"2024-03-05T22:24:19.632Z","dependency_job_id":"fa257725-0428-4c9b-a0ab-11ae6f28212e","html_url":"https://github.com/artHub-j/robocode-player-NPCBot","commit_stats":null,"previous_names":["arthub-j/robocode-player-npcbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/artHub-j/robocode-player-NPCBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artHub-j%2Frobocode-player-NPCBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artHub-j%2Frobocode-player-NPCBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artHub-j%2Frobocode-player-NPCBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artHub-j%2Frobocode-player-NPCBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artHub-j","download_url":"https://codeload.github.com/artHub-j/robocode-player-NPCBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artHub-j%2Frobocode-player-NPCBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31779943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: 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":["prop","robocode","upc"],"created_at":"2024-11-12T15:17:06.279Z","updated_at":"2026-04-14T02:31:26.664Z","avatar_url":"https://github.com/artHub-j.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"https://github.com/artHub-j/robocode-player-NPCBot/assets/92806890/3f601599-0cf6-427a-be1a-8f06585c85e3\" width=\"40\" /\u003e robocode-player-NPCBot\nRobocode player + team strategy. Quarter finals in our class Robocode Competition. Mark: 7.9 \n\n## Bot Strategy\n\nFor each enemy robot we update the distance by the largest scan by each robot on our team using messages that we handle in onMessageRecieved().\nOnce all possible robots have been scanned, we go through the HashMap and look for the smallest possible distance for each key. In this way we obtain the robot with the shortest distance towards our team.\n\n### 1. Scan\n![image](https://github.com/artHub-j/robocode-player-NPCBot/assets/92806890/04c64f35-c87b-4376-b9b9-6af692480cc3)\n### 2. Compare\n![image](https://github.com/artHub-j/robocode-player-NPCBot/assets/92806890/a8f802e8-eb95-444c-b43c-1a457e73f7b5)\n### 3. Choose Objective\n![image](https://github.com/artHub-j/robocode-player-NPCBot/assets/92806890/11631cd0-11c2-4bf9-9366-0d5b25a8c211)\n## Results against classmates\n\u003cimg src=\"https://github.com/artHub-j/robocode-player-NPCBot/assets/92806890/1ae16acd-4b79-447a-8213-3f47116211e7\" width=\"500;\" alt=\"robocodeTorneigClass\"/\u003e\n\n## Authors\n\n\u003ctable border=\"2\"\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://github.com/artHub-j\"\u003e\n        \u003cimg src=\"https://github.com/artHub-j/robocode-player-NPCBot/assets/92806890/09794230-7b69-4d66-a416-1c7675225999\" width=\"75px;\" alt=\"artHub-j\"/\u003e\u003cbr\u003e\n        \u003csub\u003e\u003cb\u003e@artHub-j\u003c/b\u003e\u003c/sub\u003e\n      \u003c/a\u003e\u003cbr/\u003e\n      \u003csub\u003eArturo Aragón\u003c/sub\u003e\n    \u003c/td\u003e \u003c!-- --------------------------------------------------------------------------------------------------------------------------------------- --\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://github.com/FerranEJ/\"\u003e\n        \u003cimg src=\"https://github.com/artHub-j/robocode-player-NPCBot/assets/92806890/1329896d-8a9c-41a6-8081-65a5fb73e7de\" width=\"75px;\" alt=\"FerranEJ\"/\u003e\u003cbr\u003e\n        \u003csub\u003e\u003cb\u003e@FerranEJ\u003c/b\u003e\u003c/sub\u003e\n      \u003c/a\u003e\u003cbr/\u003e\n      \u003csub\u003eFerran Escala\u003c/sub\u003e\n    \u003c/td\u003e \u003c!-- --------------------------------------------------------------------------------------------------------------------------------------- --\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farthub-j%2Frobocode-player-npcbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farthub-j%2Frobocode-player-npcbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farthub-j%2Frobocode-player-npcbot/lists"}