Deadline: Fri, 12/12, 5pm
The second Robocode tournament will be optional, for extra credit only. It will increase your average lab test grade by up to 15%. I will conduct the tournament outside of class time and post the results.
You will work alone for this tournament.
I'll need to have your robot code (.java file) by the above deadline. Use the CS-175 ecampus dropbox.
The objective of your robot will be the following:
Sample robots (without source code) from a previous tournament are here:
Your robot must meet the following minimum requirements; if you meet all the requirements, you will get full marks toward extra credit, otherwise you will get less than full marks:
setColors(Color.bodyColor, Color.gunColor, Color.radarColor)
or setColors(Color.bodyColor, Color.gunColor, Color.radarColor, Color.bulletColor, Color.scanArcColor)
method.gotoCenter() and gotoCoords()
methods, but this is not mandatory.public void onScannedRobot(ScannedRobotEvent e)
method.public void onHitWall()
method to avoid getting stuck on walls.public void onHitRobot()
method to react to hitting another robot.Other Guidance: