Re: RobotCode Question for beginner

[email protected] Fri, 8 Jul 2016 12:53:08 -0700 (PDT)
Newsgroups gmane.comp.java.robocode
Message-ID <[email protected]>

On Monday, February 29, 2016 at 10:53:55 PM UTC+2, Brendan Quigley wrote:
>
> Hello I am searching all over the place for an answer but I cant find one, 
> maybe someone here can help me out. I am in a competition among other 
> students in my class competing for grades and i would like to build a 
> circling bot. Only problem is we are not allowed to use the advanced Robot 
> and from my research that is what everyone uses. So my question is, is it 
> possible to build this robot by only using the extends robot only? If this 
> is not possible can someone recommend a robot that can stay within a sentry 
> border of 300 and can avoid ramfire bots (which is what everyone is mainly 
> using) and there is also one sentry bot in the arena. Thanks in advanced 
> for reading this
>

Avoiding Rambots is very easy you can you use :
turnRight(normalRelativeAngleDegrees(e.getBearing() + 90)
if(e.getDistance() < 100) {
      ahead(200)
} 

-- 
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.