其他
Failbot is a Robocode robot utilizing the following strategy:
Movement: Failbot initially runs to the top left corner of the arena, then proceeds to hug the walls and move in a clockwise circuit around the arena. Whenever it hits a wall, it turns right 90 degrees.
Targeting: Failbot scans the arena periodically, if it finds a target, it calls it's firing algorithm, which turns it's gun towards the enemy, and fires a shot whose power is proportional to the opponent's distance from Failbot.
Firing: Failbot will only fire at opponents who are slow or near it. It fires a very strong shot at a robot that is extremely close, extremely slow, or directly perpendicular to it (to defeat other wall-hugging robots).
Vulnerabilities: Failbot is in no way optimal, and much improvement is necessary to augment it's evasion and firing mechanisms.
robocode
暂无评论