Assignment 5: Robocode

Due: Friday. Nov. 4 by 9am (20 points)

The goal for this assignment is to set up the Robocode agent toolkit on a system of your choosing and make a competent agent.

Results posted

Setup

  1. Download Robocode and install
  2. Install Eclipse using the online instructions
  3. Go to Snarfer Site Browser in Eclipse. Add the class snarf site (http://www.cs.duke.edu/education/courses/fall05/cps097s/snarf/).
  4. Snarf the labs/01_SampleRobots project. See the help pages on snarfing a project for more information.
  5. Set up the project to access the Robocode library

Getting help

The first thing you should do is check out the following sites.

Building your own robot

Your goal is to write an effective one-on-one Robocode robot. Your robot will be judged by:

Basic Robot performance

Your first goal with your robot is to show you can do better than the supplied default agents. Battling against one of the default agents in the Robocode environment, your agent receives one point each time it wins in a competition lasting sevenn rounds. You should be able to defeat the Walls and Tracker agents.

Roboleague

You will compete with the other robots in the class in a Roboleague. The top robot will earn extra points. Otherwise, your robot will be judged on its code and your writeup.

Writeup

Write your anwers to the following questions in a file called README.
  1. Agent design: Describe the overall architecture of your agent.
  2. Implementation comments: Describe any specific strategies or tactics your agent employed.
  3. Reflections: Write about any particular problems you had with this assignment. Did you have trouble setting up the agent environment? Did you enjoy the assignment? How much time did you spend?

Submitting

Submit your project in Eclipse using the robocode assignment name. See help documents for more information.
Jeffrey R.N. Forbes
Last modified: Wed Nov 9 09:59:45 EST 2005