(redirected from HOT)


Robo Home | Changes | Preferences | AllPages

  1. REDIRECT FastTargeting/HeadOnTargeting
To shoot using HeadOnTargeting:

In onScannedRobot, add:

double absoluteBearing = getHeadingRadians() + e.getBearingRadians();
setTurnGunRightRadians(robocode.util.Utils.normalRelativeAngle(absoluteBearing - getGunHeadingRadians());

The simple strategy of Targeting where you last saw the enemy. Works surprisingly well against surprisingly many bots. Especially in Melee battle. -- PEZ

Please post bots on robocode rumble that use head on targeting in HeadOnTargetingBots? --andrew

Robo Home | Changes | Preferences | AllPages
Edit text of this page | View other revisions
Last edited July 5, 2005 6:26 EST by Jokester (diff)