Table of Contents

<== Back to Robocode Tournament page


Robocode Tournament 1 Ideas/Hints


Hint: Don't try to be perfect

Your strategy to touch the SittingDucks may not work every time. Sometimes the SittingDucks aren't in the formation you need them to be in. But you have three tries.

Idea: Destroy the SittingDucks

You won't get time bonuses, but getting rid of SittingDucks simplifies the task of touching them all.

Idea: Use SittingDucks' energy level

See the onScannedRobot method documentation.

For a robot e that you scan, you can get data such as distance (e.getDistance()) and bearing (e.getBearing()). But another item of data you can get is the energy of the scanned robot. A SittingDuck that hasn't been damaged yet has full energy; that's a SittingDuck that you haven't tagged yet.

Idea: Cover as much of the field as you can

Idea: Don't go back


<== Back to Robocode Tournament page