Skip to content

Robocode player + team strategy. Quarter finals in our class Robocode Competition. Mark: 7.9

Notifications You must be signed in to change notification settings

artHub-j/robocode-player-NPCBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

2. Compare

image

3. Choose Objective

image

Results against classmates

robocodeTorneigClass

Authors

artHub-j
@artHub-j

Arturo Aragón
FerranEJ
@FerranEJ

Ferran Escala

About

Robocode player + team strategy. Quarter finals in our class Robocode Competition. Mark: 7.9

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages