Robocode player + team strategy. Quarter finals in our class Robocode Competition. Mark: 7.9
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.
@artHub-j Arturo Aragón |
@FerranEJ Ferran Escala |