|
Project Information
Featured
Links
|
KillaRobot is a Robocode robot that implements the following strategy: Movement: KillaRobot moves in a straight line destroying everything it sees. If it hits a wall, it will turn right 90 degrees and go straight. If it gets hit by a bullet, it changes its direction by turning right and moving forward 100 pixels. If it gets hit by another robot, it turns towards that robot and rams back. Lastly, if it is 150 pixels close to another robot, KillaRobot will try to ram that close robot. Targeting: It scans for enemy robots each turn while moving forward. Firing: When it scans/sees an enemy, it fires maximum power. If KillaRobot is hit by another robot, it will turn toward that robot and ram and fire. |