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

您现在的位置是:虫虫源码 > 其他 > Robocode机器人的设计有一个防御的重点。

Robocode机器人的设计有一个防御的重点。

  • 资源大小:25.98 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: robocode

资 源 简 介

CounterBot is a Robocode robot designed with a defensive oriented strategy. The following techniques are used by CounterBot. The strategies were designed to optimize results in 1 on 1 competition in 800x1200 size battlefields while only extending the Robocode Robot class. Tactical Positioning: If a defensive event is not triggered by the opposing robot, CounterBot moves to a tactical position on the far left or far right vertical center of the battlefield. Bullet Avoidance: When a certain decrease in energy is detected, CounterBot will enter evasive maneuvering to avoid incoming fire. Robot Avoidance: In order to avoid repeated hits by robot contact, CounterBot will rotate right and attempt to move. Wall Avoidance: If a wall is hit, CounterBot will attempt to move away from the wall. Targeting:
VIP VIP
0.228573s