Talk:CalculatingScore
Jump to navigation
Jump to search
Is it possible to calculate the score for an AdvancedRobot? I'm having problems with the HitRobotEvent
public void onHitRobot(HitRobotEvent e) {
ramDamage[e.isMyFault() ? 0 : 1] += robocode.Rules.ROBOT_HIT_DAMAGE;
}
When isMyFault=false the enemy doesn't always get points for it. For instance a RamBot against SittingDuck. The underDevelopment class is here Talk:CalculatingScore/ScoreWithRamming
- [View source↑]
- [History↑]
You cannot post new threads to this discussion page because it has been protected from new threads, or you do not currently have permission to edit.
There are no threads on this page yet.