Difference between revisions of "Thread:Talk:Robocode/Will onRobotDeath event miss due to skipped turns?/reply (6)"
Jump to navigation
Jump to search
m (Reply to Will onRobotDeath event miss due to skipped turns? ) |
(No difference)
|
Latest revision as of 07:06, 30 December 2017
well, firing at some "ghost" when missing onRobotDeath is unavoidable. Anyway we could set different timer for radar & gun. e.g. for radar, choose 8k ticks, where k is large enough to avoid marking alive bots as dead. And for guns, use a small k, e.g. 1, to avoid shooting at targets that we don't have new information.