Will onRobotDeath event miss due to skipped turns?

Fragment of a discussion from Talk:Robocode
Jump to navigation Jump to search

Yes, that's true. I did a quick experiment and found that onRobotDeath event do lost when experiencing heavy skipped turns.

So just add if (Math.random() < 0.7) { return; } in onRobotDeath and see whether your bot totally breaks.

Xor (talk)05:02, 30 December 2017