首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 一个Robocode机器人试图拖垮其他机器人

一个Robocode机器人试图拖垮其他机器人

  • 资源大小:44.63 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 机器人 robocode 一个 其他 试图

资 源 简 介

ThirdRobotLaw is a Robocode robot which implements the following strategy: Movement: ThirdRobotLaw begins by moving towards either the left or right wall, whichever one is closer. It then randomly moves up and down along the wall until there is only one enemy robot remaining. When there is only one enemy robot remaining, ThirdRobotLaw stops moving and tries to target the enemy but moves randomly up or down whenever it is hit a consecutive number of times by the enemy. Targeting: When there is only one enemy remaining, it tries to stay stationary and track its opponent with only gun movements. Firing: Whenever it scans another robot, it immediately fires a bullet at the robot with bullet power that is proportional to how far away the enemy is. If consecutive hits are made, the bullet power is adjusted to maximum. Vulnerabilities: While stationary, it is very vulnerable especially wi

文 件 列 表

robocode-fac-thirdrobotlaw-1.8.2011.10.12.22.56
config
robots
src
.classpath
.project
build.xml
checkstyle.build.xml
common.build.xml
dependencyfinder.build.xml
dist.build.xml
emma.build.xml
fac.ThirdRobotLaw_1.8.2011.10.12.22.56.jar
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

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP