Thread history

Fragment of a discussion from Talk:IWillFireNoBullet
Viewing a history listing
Jump to navigation Jump to search
Time User Activity Comment
No results

What do you mean by "direct access"? Like to use Robocode's engine during the match instead of writing the prediction?

If you want, the MovementPredictor in Diamond is exactly correct and you're free to use it.

Sounds like you might just need to look at getNewVelocity: https://github.com/Voidious/Diamond/blob/master/voidious/utils/MovementPredictor.java#L125

Voidious (talk)13:55, 20 August 2015

Yep. This is what I meant. Robocode's getNewVelocity is implemented very close to it, and even acknowledges you. But it is unaccessible from the robot. So everyone had to re-implement it.

I wish one have a way to call getNewVelocity directly.

Beaming (talk)22:54, 20 August 2015