其他
WallSpin is a Robocode robot implementing the following strategy:
Movement: WallSpin moves along the walls until it is hit by a bullet, in which case it will move to the center and then start moving back and forth and doing 360's.
Targeting: WallSpins gun is stationary so when it move along the walls it fires when an enemy crosses its path. When in spin mode, it rotates 360 degrees to scan for robots and fires when it spots one.
Firing: WallSpin fires bullets proportional to the distance of the enemy. If the enemy is close it will fire a high powered bullet, if it is far it will fire a low powered bullet to conserve energy.
Vulnerabilities: WallSpin has one main vulnerability, when it gets cornered it basically has lost the battle. Also if the enemy robot has predictive firing it will almost always lose.
机器人
项目
这是
暂无评论