Re: I need 3 differents codes (I call them A,B and C) with this parrticular condition:
Baptiste Plantin <[email protected]> Mon, 19 Oct 2015 10:27:32 -0700 (PDT)
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <[email protected]> |
Ok, I just discover "linear" and "circular targeting" mean in reality... it's more difficult than I expected, so now, I'm stuck on those targeting instructions ^^" . Well, I'll try to get the codes, I presume copy-paste this one <http://robowiki.net/wiki/Circular_Targeting> is not enough (I get some errors, like "The method getHeadingRadians() is undefined ", I try to understand this function actually). Thank for the information! Le lundi 19 octobre 2015 04:41:24 UTC+2, Nat Pavasant a écrit : > > Oscillate should move like MyFirstRobot, and please refer to RoboWiki for > linear and circular targeting. > On 19 Oct 2015 06:45, "Baptiste Plantin" <[email protected] > <javascript:>> wrote: > >> Ok, in fact, those codes already exist in the "sample" files so I use >> them in order to get the A (Wall), B(Spinbot), only C(I called Oscillate) >> is created. >> >> Statistically, the wall bot have 100% win vs Spinbot, so it's ok: A>B >> >> But: The Spinbot have only between 55 and 70% vs Oscillate >> The Oscillate get between 60 and 75% vs Wall >> >> It's not enought and balanced... maybe because I doing something wrong >> with the Oscillate? >> >> Actually, the Oscillate tank more forward until he it the wall, Gun >> placed at 90° from the above, then move back until the opposite wall, the >> gun turn in the same time (so, this tankcan normaly can hit easily the Wall >> tank). >> >> I forget something? Maybe it's not that you mean with the "linear >> targeting"? >> >> >> >> Le jeudi 15 octobre 2015 12:34:25 UTC+2, Baptiste Plantin a écrit : >>> >>> That look like make sense, and it's look like simple to do, Thanks! >>> >>> Of course that depend how use the ransom system, and the goal is to get >>> data to this random system, whatever the efficiency. >>> >>> >>> Le mercredi 14 octobre 2015 14:29:22 UTC+2, Nat Pavasant a écrit : >>>> >>>> I doubt it would result in really random system. >>>> >>>> I can deliberately create 3 robot that fits into your condition: >>>> >>>> A. Move along the wall with circular targeting. >>>> B. Move in circle with head-on targetting. >>>> C. Oscilate back and forth with linear targetting >>>> >>>> Circular gun can hit circle movement but cant hit oscillation. >>>> Head-on hit (simple) oscillation but cannot hit wall movement. >>>> Linear gun cant hit circular movement but hits wall movement well. >>>> On 14 Oct 2015 18:13, "Baptiste Plantin" <[email protected]> wrote: >>>> >>>>> Actually, I download and run many codes, but I get to much of them and >>>>> It's a bit long to get the good ones. >>>>> >>>>> Maybe you can help me to keep only 3 code respecting those condition: >>>>> >>>>> A is stronger than B >>>>> B is stronger than C >>>>> C is stronger than A >>>>> >>>>> I consider a code is stronger than another one when it get more than >>>>> 75% victory. >>>>> >>>>> My final objective is to test a new code using randomly A, B and C >>>>> during the match, called D, and collect his data build a conclusion about >>>>> random system. >>>>> >>>>> -- >>>>> 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. >>>>> >>>> -- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- 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.