资 源 简 介
Design:
Movement:
The movement system I implemented this bot is very simple. For the most part it will try to move in a straight line in intervals equal to half of the stage width/height. When it hits a wall it will attempt to turn around 180° before moving again.
Targeting:
This bot has a fairly decent targeting system which I took from an earlier bot I created. It will lock on the first target it scans.
Attacking:
Firing on every scan can be in efficient, especially the shots are missing. In order to make up for this there is a counter that will stop the bot from firing until it runs out of energy. Bullet strength/speed is determined by distance to target. The closer the target is, the stronger the bullet.
Upcoming changes:
• Implement predictive targeting.
文 件 列 表
robocode-ahg-cakebot-1.1.1014
.settings
src
.classpath
.project
ahg.CakeBot_1.1.1014.jar
build.xml
checkstyle.build.xml
common.build.xml
dependencyfinder.build.xml
dist.build.xml
emma.build.xml
findbugs.build.xml
ivysettings.xml
jacoco.build.xml
jar.build.xml
javadoc.build.xml
javancss.build.xml
junit.build.xml
pmd.build.xml
sclc.build.xml
verify.build.xml