Discussion:
I need 3 differents codes (I call them A,B and C) with this parrticular condition:
Baptiste Plantin
2015-10-14 11:12:08 UTC
Permalink
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 robocode+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Nat Pavasant
2015-10-14 12:29:21 UTC
Permalink
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.
Post by Baptiste Plantin
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.
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
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 robocode+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Baptiste Plantin
2015-10-15 10:34:24 UTC
Permalink
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.
Post by Nat Pavasant
I doubt it would result in really random system.
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.
Post by Baptiste Plantin
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.
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
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 robocode+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Baptiste Plantin
2015-10-18 23:45:41 UTC
Permalink
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"?
Post by Baptiste Plantin
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.
Post by Nat Pavasant
I doubt it would result in really random system.
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.
Post by Baptiste Plantin
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.
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
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 robocode+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Nat Pavasant
2015-10-19 02:41:23 UTC
Permalink
Oscillate should move like MyFirstRobot, and please refer to RoboWiki for
linear and circular targeting.
Post by Baptiste Plantin
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"?
Post by Baptiste Plantin
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.
Post by Nat Pavasant
I doubt it would result in really random system.
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.
Post by Baptiste Plantin
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.
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
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
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 robocode+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Baptiste Plantin
2015-10-19 17:27:32 UTC
Permalink
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!
Post by Nat Pavasant
Oscillate should move like MyFirstRobot, and please refer to RoboWiki for
linear and circular targeting.
Post by Baptiste Plantin
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"?
Post by Baptiste Plantin
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.
Post by Nat Pavasant
I doubt it would result in really random system.
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.
Post by Baptiste Plantin
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.
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
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
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 robocode+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...