一个Robocode机器人包,包括六的JUnit测试用例
资 源 简 介
Movement: After each firing, Firingdock turns 80degree to the right then moves back 510 pixels. The approach will create a random movement pattern for the Firingdock. On hit by a bullet, the Firingdock turns perpendicularly to the bullet then move a bit.
Targeting: It spins around to scan for other robots. It locks the radar on the target as the target moves and re-scan.
Firing: The Firingdock fires immediately when it scans a robot. It uses the bullet power proportionately to the distant and speed of the enemy. The Firingdock only fires with full bullet power if the enemy is not moving, or the enemy is closer than 300 pixel. It also fires the full bullet power if it hit the enemy.
文 件 列 表
robocode-lnp-firingdock-1.1.1011
.settings
robocode-lnp-firingdock
src
.classpath
.project
build.xml
checkstyle.build.xml
common.build.xml
dependencyfinder.build.xml
dist.build.xml
emma.build.xml
findbugs.build.xml
ivysettings.xml
jar.build.xml
javadoc.build.xml
javancss.build.xml
junit.build.xml
junit2848084179429370489.properties
junitvmwatcher7634548970228489267.properties
lnp.FiringDock_1.1.1011.jar
pmd.build.xml
sclc.build.xml
verify.build.xml