Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arthub-j/robocode-player-npcbot
Robocode player + team strategy. Quarter finals in our class Robocode Competition. Mark: 7.9
https://github.com/arthub-j/robocode-player-npcbot
prop robocode upc
Last synced: about 1 month ago
JSON representation
Robocode player + team strategy. Quarter finals in our class Robocode Competition. Mark: 7.9
- Host: GitHub
- URL: https://github.com/arthub-j/robocode-player-npcbot
- Owner: artHub-j
- Created: 2024-01-17T19:06:39.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-29T15:22:12.000Z (9 months ago)
- Last Synced: 2024-03-29T16:32:32.609Z (9 months ago)
- Topics: prop, robocode, upc
- Language: Java
- Homepage:
- Size: 151 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# robocode-player-NPCBot
Robocode player + team strategy. Quarter finals in our class Robocode Competition. Mark: 7.9## Bot Strategy
For each enemy robot we update the distance by the largest scan by each robot on our team using messages that we handle in onMessageRecieved().
Once 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.### 1. Scan
![image](https://github.com/artHub-j/robocode-player-NPCBot/assets/92806890/04c64f35-c87b-4376-b9b9-6af692480cc3)
### 2. Compare
![image](https://github.com/artHub-j/robocode-player-NPCBot/assets/92806890/a8f802e8-eb95-444c-b43c-1a457e73f7b5)
### 3. Choose Objective
![image](https://github.com/artHub-j/robocode-player-NPCBot/assets/92806890/11631cd0-11c2-4bf9-9366-0d5b25a8c211)
## Results against classmates## Authors