Re: Turn Rate of enemy bot
fnl <[email protected]>
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <[email protected]> |
That is hard to tell without seeing the source code for your robot. I advice you to carefully read your code and look out places where you use radians and/or degrees. It might be that you use degrees in a place where you should have been using radians and vice versa? Just a quick guess. This is typically the situation making it hard to figure out, where the error is in the code, when all calculations seems to be just right. :-) Cheers, - Flemming Den lørdag den 14. juni 2014 23.21.52 UTC+2 skrev [email protected]: > > I'm trying to beat a SpinBot from the samples. I decided to calculate its > Heading difference between frames. I'm getting weird results: 6 than 9, > 12... It shouldn't be more than MAX_TURN_RATE and especially for SpinBot > the Turn Rate should be also stable. So what's wrong in my approach? > -- You received this message because you are subscribed to the Google Groups "robocode" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.