Difference between revisions of "Sanguijuela/Evolution History"

From Robowiki
Jump to navigation Jump to search
(Sanguijuela 0.4 Involution)
(Sanguijuela Evolution History (0.5))
Line 1: Line 1:
 +
= Sanguijuela 0.5 =
 +
[http://www.freewebs.com/robocode/bots/Sanguijuela/jab.micro.Sanguijuela_0.5.jar Download]
 +
 +
'''Released:''' 2 April 2008
 +
 +
'''Codesize:''' 635
 +
 +
'''Ratings '''Battles:''' 3108
 +
 +
{| border="1" cellspacing="0" cellpadding="3"
 +
! Rumble
 +
! Position
 +
! Points
 +
|-
 +
! General
 +
|
 +
| 1631.88
 +
|}
 +
 +
== What's new ==
 +
* Choose each round between Linear (90%) and Circular (10%) movement and targeting
 +
* Change the calculation of the best initial Radar direction using [[Smash]] method by [[User:Starrynte | Starrynte]]. My code got the same results but with more codesize.
 +
 +
== Comments ==
 +
It was not good idea but I wanted to try it.
 +
Looking at the comparison between 0.3 and 0.4, Linear is better in a 76% of the conflictive cases.
 +
If I choose between Linear (90%) and Circular (10%) strategy then
 +
 +
p(ok)= p(s=L)*P(ok|s=L) + p(s=C)*P(ok|s=C) = P(ok)*P(s=L) + P(ok)P(s=C) =0.76*0.9 + 0.24*0.1 =70.8
 +
 +
So Sanguijuela lost 5.2% of the conflictive cases but I thought that adding this variability in the strategy could be interesting. The 0.3 (only Linear) has still better performance.
 +
 
= Sanguijuela 0.4 =
 
= Sanguijuela 0.4 =
 +
[http://www.freewebs.com/robocode/bots/Sanguijuela/jab.micro.Sanguijuela_0.4.jar Download]
  
 
'''Released:''' 24 March 2008
 
'''Released:''' 24 March 2008
Line 35: Line 68:
  
 
= Sanguijuela 0.3 =
 
= Sanguijuela 0.3 =
 +
[http://www.freewebs.com/robocode/bots/Sanguijuela/jab.micro.Sanguijuela_0.3.jar Download]
  
 
'''Released:''' 8 January 2008
 
'''Released:''' 8 January 2008
Line 79: Line 113:
  
 
= Sanguijuela 0.2 =
 
= Sanguijuela 0.2 =
 +
[http://www.freewebs.com/robocode/bots/Sanguijuela/jab.micro.Sanguijuela_0.2.jar Download]
  
 
'''Released:''' 6 January 2008
 
'''Released:''' 6 January 2008
Line 123: Line 158:
  
 
= Sanguijuela 0.1 =
 
= Sanguijuela 0.1 =
 +
[http://www.freewebs.com/robocode/bots/Sanguijuela/jab.Sanguijuela_0.1.jar Download]
  
 
'''Released:''' 5 January 2008
 
'''Released:''' 5 January 2008

Revision as of 22:31, 15 April 2008

Sanguijuela 0.5

Download

Released: 2 April 2008

Codesize: 635

Ratings Battles: 3108

Rumble Position Points
General 1631.88

What's new

  • Choose each round between Linear (90%) and Circular (10%) movement and targeting
  • Change the calculation of the best initial Radar direction using Smash method by Starrynte. My code got the same results but with more codesize.

Comments

It was not good idea but I wanted to try it. Looking at the comparison between 0.3 and 0.4, Linear is better in a 76% of the conflictive cases. If I choose between Linear (90%) and Circular (10%) strategy then

p(ok)= p(s=L)*P(ok|s=L) + p(s=C)*P(ok|s=C) = P(ok)*P(s=L) + P(ok)P(s=C) =0.76*0.9 + 0.24*0.1 =70.8

So Sanguijuela lost 5.2% of the conflictive cases but I thought that adding this variability in the strategy could be interesting. The 0.3 (only Linear) has still better performance.

Sanguijuela 0.4

Download

Released: 24 March 2008

Codesize: 727

Ratings Date: 1 April 2008 Battles: 2388

Rumble Position Points
General 296 / 616 1619.14
Mini 116 / 306 1650.26
Micro 72 / 209 1645.37

What's new

  • Change Radar from WideLock to NarrowLock.
  • Change linear movement and targeting to circular. The predicted position of the enemy use 8 as velocity for the movement and 11 for the targeting.

Comments

Involution. After some testing I thought that a circular movement and targeting could be better than linear but, in general, it seems to be false. The previous version appears and disappears misteriously in the RoboRumble so I could make these statistics.

Comparison for v0.3 Linear and v0.4 Circular

Sanguijuela 0.3

Download

Released: 8 January 2008

Codesize: 749

Ratings Date: 18 January 2008 Battles: 2024

Rumble Position Points
General 253 / 604 1624.67
General PL 279 / 604 612
Mini 108 / 302 1643.79
Mini PL 122 / 302 338
Micro 67 / 203 1645.21
Micro PL 75 / 203 236

What's New

  • Now Sanguijuela doesn’t ignore the walls in the linear movement and targeting.
  • It doesn’t bite before it is close to the enemy. (350 pixels).


Sanguijuela 0.2

Download

Released: 6 January 2008

Codesize: 743

What's New

  • Code reduced to 743. Now Sanguijuela is a MicroBot.
  • Sanguijuela ignores the walls when moving and targeting.

ToDo

  • Done v0.3: Don’t ignore the walls and mantain the micro category.

Comments

I have tested Sanguijuela's ramming performance (V0.2) with the archived results of RamBotChallenge2K6 (two years ago) and it takes the 3rd place.

Bot Ramming Percentage Overall Score
MaxRisk 0.6 24.65 46.39
SledgeHammer 0.22 21.42 45.26
Sanguijuela 0.2 21.86 44.11
ARAMtocles 0.3 20.65 44.05
NanoDeath 2.56 23.60 43.85

Sanguijuela 0.1

Download

Released: 5 January 2008

Codesize: 869

Origin

  • Linear Ramming and Targeting.
  • It calculates the best direction to start scanning.
  • It chooses ramming with the anterior or the posterior suckers depending on host's starting position.