Difference between revisions of "Shadow"

From Robowiki
Jump to navigation Jump to search
m (move categories to infobox)
m (update info)
Line 1: Line 1:
 +
{{Navbox small
 +
| title = Shadow Sub-pages
 +
| parent = Shadow
 +
| page1 = Version History
 +
| page2 = Archived Talk 20040725
 +
| page3 = Archived Talk 20090724
 +
| page4 = Melee Gun
 +
}}
 
{{Infobox Robot
 
{{Infobox Robot
 
| bgcolour        = #505050
 
| bgcolour        = #505050
 
| altimage        = http://robocode.aclsi.pt/shadow_logo_anim4.gif
 
| altimage        = http://robocode.aclsi.pt/shadow_logo_anim4.gif
| author          = ABC
+
| author          = [[User:ABC|ABC]]
| extends        = AdvancedRobot
+
| extends        = [[AdvancedRobot]]
| released        = October 17, 2003 (v2.01)
+
| movement        = [[Wave Surfing]]
 +
| targeting      = [[Dynamic Clustering]]
 +
| released        = A long time ago...<!-- October 17, 2003 (v2.01) -->
 
| current_version = v3.84
 
| current_version = v3.84
 
| license        = Proprietary
 
| license        = Proprietary
| download_link  = http://robocode.aclsi.pt/abc.Shadow_3.83.jar
+
| download_link  = http://robocode.aclsi.pt/abc.Shadow_3.84.jar
 
| isOneOneOne    = true
 
| isOneOneOne    = true
 
| isTeam          = true
 
| isTeam          = true
Line 15: Line 25:
 
[[Category:MegaBots|Shadow]]
 
[[Category:MegaBots|Shadow]]
  
==== Description ====
+
== Background Information ==
  
Enemy circling flat movement, Tron's gun. My first ever competitive bot redone with "modern" technologies.
+
; What's special about it?
 +
: It is the first robot that uses this type of gun as describe below, and it is the first Wave Surfer ever.
 +
: Also, it is my first ever competitive bot redone with "modern" technologies.
  
==== How does it [[Movement|move]]? ====
+
== Strategy ==
  
It circles the enemy in random runs, "DT like" wall avoidance.
+
; How does it [[Movement|move]]?
  
==== How does it fire? ====
+
: Shadow is the first robot that features [[Wave Surfing]].
  
It uses [[TronsGun|Tron's gun]]. I call it a "forward pattern matcher".
+
; How does it fire?
  
==== How does it [[DodgingBullets|dodge bullets]]? ====
+
: This gun is firstly describe as  [[Tron's Gun]]. I call it a "forward pattern matcher".
 +
: But later this gun is named [[Dynamic Clustering]] [[Play-It Forward]] gun.
  
By using a hand-optimised random movement.<br>
+
; How does it [[DodgingBullets|dodge bullets]]?
v2.31: Ever heard of Bullet-Time? :)
 
  
==== How does the [[Melee|melee]] strategy differ from [[OneOnOne|one-on-one]]  strategy? ====
+
: By surfing enemy's waves.
  
In melee battles it uses a modified anti-gravity "point chooser".
+
; How does the [[Melee|melee]] strategy differ from [[OneOnOne|one-on-one]]  strategy?
  
==== How does it select a target to attack/avoid in [[Melee|melee]] ? ====
+
: It uses a [[Minimum Risk Movement]]
 +
: v3.84: with the HOT-avoidance system
  
Same as [[Tron]].
+
; How does it select a target to attack/avoid in [[Melee|melee]] ?
  
==== What does it save between rounds and matches? ====
+
: It doesn't, instead it uses the strategy describe at [[Shadow/Melee Gun]].
  
Between matches: Nothing.<br>
+
; What does it save between rounds and matches?
Between rounds: Everything.
 
  
==== Where did you get the name? ====
+
: Between matches: Nothing.<br>
 +
: Between rounds: Everything.
  
From it's colors. I made it dark, like a shadow. ;)
+
== Additional Information ==
  
==== Can I use your code? ====
+
; Where did you get the name?
  
It is not open source. I'm a very sloppy coder (when I can ;)).
+
:From it's colors. I made it dark, like a shadow. ;)
  
==== What's next for your robot? ====
+
; Can I use your code?
  
Movement optimising, it still hits the walls too often. After that I'll work on the gun.
+
: It is not open source. I'm a very sloppy coder (when I can ;)).
  
==== What other robot(s) is it based on? ====
+
; What's next for your robot?
  
[[Tron]] 2.02<p>
+
: Movement optimising, it still hits the walls too often. After that I'll work on the gun.
  
----
+
; What other robot(s) is it based on?
  
==== Version History ====
+
: [[Tron]] 2.02
<font size=1>(2009-07-25)</font> <b>v3.84 released:</b> New experimental melee movement inspired by [[Portia]]'s success. It tries to surf HOT waves while still maintaining a good [[Anti-Gravity_Movement|Anti-Gravity]] position. No idea about 1on1 code version. Team strategy should be completely broken too.<br>
 
<font size=1>(2008-09-01)</font> <b>v3.83 released:</b> Some team strategy changes, trying to avoid friendly fire. Lots of 1on1 movement changes since 3.82. Melee should be roughly the same, probably with some minor tweaks since the last update. <br>
 
<font size=1>(2008-07-08)</font> <b>v3.82 released:</b> Just checking if I changed anything important since 3.81f.<br>
 
<font size=1>(2008-02-26)</font> <b>v3.81 released:</b> Lots of changes, both movement and gun. Bad idea, I know, but I couldn't resist.<br>
 
<font size=1>(2008-02-10)</font> <b>v3.79 released:</b> The result of my gun tests + a few small tweaks.<br>
 
<font size=1>(2008-01-13)</font> <b>v3.77 released:</b> Testing some 1on1 gun changes. 3.73 movement (=3.66), for now.<br>
 
<font size=1>(2007-12-04)</font> <b>v3.76 released:</b> "Distributor of pain" release. Cool new melee gun experiment. How does it choose a target in melee? It doesn't. ;)<br>
 
<font size=1>(2007-11-18)</font> <b>v3.75 released:</b> Reverted the gun to 3.73. Lots of small movement changes, speed optimisations.<br>
 
<font size=1>(2007-11-06)</font> <b>v3.74 released:</b> Small change to the gun, even smaller to the movement. Untested.<br>
 
<font size=1>(2007-11-01)</font> <b>v3.73 released:</b> Further gun tweaks.<br>
 
<font size=1>(2007-10-27)</font> <b>v3.72 released:</b> Now using Simonton's BucketPRKdTree code, with some more small changes to the gun. Slightly worse in the TCFast but amazing performance in the long run (55% against Dookious!).<br>
 
<font size=1>(2007-10-23)</font> <b>v3.71 released:</b> Precision tweaks to the gun, 3.66 movement.<br>
 
<font size=1>(2006-02-16)</font> <b>v3.66b released:</b> I think I found around 5 rumble points in the gun, testing with my best movement yet.<br>
 
<font size=1>(2006-02-11)</font> <b>v3.70 released:</b> Major movement changes: now uses BlindMansStick based WallSmoothing instead of the old angle constraint method. Keeps to a closer distance (more agressively).<br>
 
<font size=1>(2006-02-02)</font> <b>v3.69g released:</b> Movement changes, risky business.<br>
 
<font size=1>(2006-01-24)</font> <b>v3.69 released:</b> Reverted back to 3.66 movement and gun (with a very small bugfix). Some changes to the melee gun.<br>
 
<font size=1>(2006-01-21)</font> <b>v3.68 released:</b> Major movement and gun tweaks, must get some sleep...<br>
 
<font size=1>(2006-01-19)</font> <b>v3.67 released:</b> Fixed a bug and tweaked the gun.<br>
 
<font size=1>(2006-01-14)</font> <b>v3.66 released:</b> Mixing old with new.<br>
 
<font size=1>(2006-01-13)</font> <b>v3.65 released:</b> Something slightly different with the gun. :)<br>
 
<font size=1>(2006-01-12)</font> <b>v3.64 released:</b> Some more gun tunning, my best gun ever? Nope, at least not for the rumble. I'll try something slightly different next.<br>
 
<font size=1>(2006-01-11)</font> <b>v3.63 released:</b> Testing some changes to the gun.<br>
 
<font size=1>(2006-01-10)</font> <b>v3.62 released:</b> Corrected some mistakes with the new tweak. Must look at the gun now, I made some crazy changes while on vacations! :)<br>
 
<font size=1>(2006-01-09)</font> <b>v3.61 released:</b> New movement tweak. After all this time it's very hard to follow my own code! Clean-up follows...<br>
 
<font size=1>(2005-04-27)</font> <b>v3.59 released:</b> Refactored melee movement, some logic flaws corrected in the process. Melee King! :)<br>
 
<font size=1>(2005-04-19)</font> <b>v3.58 released:</b> Revised melee gun. Should give Aleph 0.34 a run for it's money. ;)<br>
 
<font size=1>(2005-04-17)</font> <b>v3.57.1 released:</b> Back to 3.55.1 1on1 movement. Some melee movement tweaks.<br>
 
<font size=1>(2005-04-04)</font> <b>v3.56 released:</b> Experimenting with the movement, the gun will have to wait. Looks like I'm back, btw. :)<br>
 
<font size=1>(2004-12-08)</font> <b>v3.55 released:</b> Added acceleration and time-since-velocity-change segmentations to the gun.<br>
 
<font size=1>(2004-12-04)</font> <b>v3.54 released:</b> Increased aggressiveness, does it work in the rumble? Nope, testing the opposite in 3.54.1.<br>
 
<font size=1>(2004-12-03)</font> <b>v3.53.4 released:</b> Back to 3.53 movement. Small gun tweaks, should be slightly faster.<br>
 
<font size=1>(2004-11-27)</font> <b>v3.52.3 released:</b> According to my tests, this should be the best combination in terms of rumble ranking.<br>
 
<font size=1>(2004-11-26)</font> <b>v3.53 released:</b> Some changes to the movement. Optimised (mostly) against Ascendant 1.0.<br>
 
<font size=1>(2004-11-21)</font> <b>v3.52 released:</b> Trying to make sense of everything I tried in 3.51.x plus a new change in the surfing. Tested exclusively against top bots.<br>
 
<font size=1>(2004-11-17)</font> <b>v3.51 released:</b> Optimised long run performance, 64% survival against DT in some tests.<br>
 
<font size=1>(2004-11-14)</font> <b>v3.49 released:</b> Fixed a small bug in the movement code and made some adapting speed adjustments.<br>
 
<font size=1>(2004-11-12)</font> <b>v3.48(.1) released:</b> Seems to work better now. Corrected a last minute tweak with v3.48.1.<br>
 
<font size=1>(2004-11-02)</font> <b>v3.47 released:</b> Another atempt. Changed lots of stuff, reverted most of it, did a couple of tests, and packaged it. :)<br>
 
<font size=1>(2004-11-02)</font> <b>v3.46 released:</b> Lots of changes, again. Now closer to my own gun inverted, only with guessFactors.<br>
 
<font size=1>(2004-10-31)</font> <b>v3.45 released:</b> Rushed release, I don't remember what I changed.<br>
 
<font size=1>(2004-10-30)</font> <b>v3.44 released:</b> No bins, no segments. Closer to the idea (but slightly worse in my tests).<br>
 
<font size=1>(2004-10-28)</font> <b>v3.43 released:</b> Back to my new ways. Still a lot to experiment with.<br>
 
<font size=1>(2004-10-26)</font> <b>v3.42.1 released:</b> An experiment. v3.13's WaveStats class with current everything else. <br>
 
<font size=1>(2004-10-25)</font> <b>v3.42 released:</b> Some tweaks. This version wins by 58% against DT in 1k rounds (62% survival!), I hope it takes me back to the 2050+ ranking.<br>
 
<font size=1>(2004-10-24)</font> <b>v3.41 released:</b> Restructured for speed, still a lot of cleaning up to do. Now to see how far I can tweak it.<br>
 
<font size=1>(2004-10-21)</font> <b>v3.37 released:</b> Another experiment. Much faster, but still slow by PEZ standards... :)<br>
 
<font size=1>(2004-10-20)</font> <b>v3.36 released:</b> Small bugfix.<br>
 
<font size=1>(2004-10-19)</font> <b>v3.35 released:</b> Lots of changes, work in progress. This version is a (very) SlowBot, I'll optimise it for speed in the next version.<br>
 
<font size=1>(2004-10-18)</font> <b>v3.34 released:</b> Further tweaking.<br>
 
<font size=1>(2004-10-16)</font> <b>v3.33 released:</b> Tweaked the distance control, slightly more agressive. Data saving enabled.<br>
 
<font size=1>(2004-10-15)</font> <b>v3.32 released:</b> Corrected some small logical flaws.<br>
 
<font size=1>(2004-10-14)</font> <b>v3.31 released:</b> Finally found time for some tweaks, nothing major. Data saving disabled.<br>
 
<font size=1>(2004-08-11)</font> <b>v3.25 released:</b> Back to (almost) exactly the same movement setup as 3.13.<br>
 
<font size=1>(2004-07-26)</font> <b>v3.21 released:</b> Several tweaks later... Too many tweaks at the same time, lost 17 ranking points, now to find out where they went.<br>
 
<font size=1>(2004-07-18)</font> <b>v3.13 released:</b> 2066 points and rising! King of the Rumble! :)<br>
 
<font size=1>(2004-07-16)</font> <b>v3.12 released:</b> Fixed (and improved?) melee gun, slightly tweaked melee movement and some precision fine-tunning of the 1on1 movement.<br>
 
<font size=1>(2004-06-24)</font> <b>v3.11 released:</b> Improved movement, data saving re-activated.<br>
 
<font size=1>(2004-05-31)</font> <b>v3.07 released:</b> Small error (last minute tweak) in the movement code corrected.<br>
 
<font size=1>(2004-05-29)</font> <b>v3.06 released:</b> Back to the simpler (cumulative stats) 3.04 movement. Further gun tweaking.<br>
 
<font size=1>(2004-05-24)</font> <b>v3.05 released:</b> Testing rolling averages again, no aparent performance change in my tests, let's see about the rumble. Yet another 1on1 gun tweak, pretty much untested but seems to target random movers better.<br>
 
<font size=1>(2004-05-24)</font> <b>v3.04.p recalled:</b> The test with [[PEZ]]' gun scored ~10 points lower than with my own gun, I'm therefor happy with my recent gun development. Now I need to find 15 points in the movement. ;)<br>
 
<font size=1>(2004-05-22)</font> <b>v3.04 released:</b> 1on1 gun optimisation, small movement tweaks. No melee gun for now, it's next in my todo list.<br>
 
<font size=1>(2004-05-16)</font> <b>v3.03 released:</b> Back to my most recent wavesurfing classes, with some small movement tweaks. Found a couple of old gun tweaks that were decreasing it's performance. Fixed the TC and MC behavior support.<br>
 
<font size=1>(2004-05-14)</font> <b>v3.02 released:</b> Shadow 3.01 suffered from an identity crisis in melee, it's fixed now ;). Testing Tron's v3.03 wavesurfing classes, similar to Shadow's v2.49 method.<br>
 
<font size=1>(2004-05-13)</font> <b>v3.01 released:</b> Now using Tron's v3 structure and wavesurfing classes. Many small changes/optimisations. I hope I didn't break it too much... ;)<br>
 
<font size=1>(2004-04-14)</font> <b>v2.49.1 released:</b> 2.49 with data saving disabled, rating difference: +0<br>
 
<font size=1>(2004-03-14)</font> <b>v2.49 released:</b> Pure dodger experiment.<br>
 
<font size=1>(2004-03-11)</font> <b>v2.48 released:</b> Small gun bug fixed.<br>
 
<font size=1>(2004-02-29)</font> <b>v2.47 released:</b> Another weekend of changes/tweaks. Optimised to beat DT 2.71 over 1000 rounds.<br>
 
<font size=1>(2004-02-24)</font> <b>v2.46 released:</b> Last test before 2.51, very high adapting speed, shorter memory (rolling averages) and a data saving option in the properties file.
 
<br>
 
<font size=1>(2004-02-20)</font> <b>v2.45 released:</b> Adapting speed increased again. I hope it works this time.<br>
 
<font size=1>(2004-02-16)</font> <b>v2.44 released:</b> Bugfixes and tweaks.<br>
 
<font size=1>(2004-02-13)</font> <b>v2.43 released:</b> Simple data saving added (hacked in).<br>
 
<font size=1>(2004-02-10)</font> <b>v2.42 released:</b> More testing...<br>
 
<font size=1>(2004-02-08)</font> <b>v2.41 released:</b> Just testing some changes/tweaks in the rumble, tests indicate decreased performance against DT (35 rounds), but, I hope, better against most others. Lost about 20 raking points, to be analysed...<br>
 
<font size=1>(2004-01-23)</font> <b>v2.33 released:</b> Bugfixed and optimised. Fixed a sporadic melee crash and tweaked 1vs1 movement using 1000 round battles against DT 2.41.<br>
 
<font size=1>(2004-01-16)</font> <b>v2.31 released:</b> New movement, adaptive is it's middle name. Kills everything over 1000 rounds, can it do the same in the rumble? I got my fingers crossed...;)<br>
 
* I guess it's official now, Shadow 2.31 is king of the hill with <b>1950</b> ranking points, as well as melee and teams champion. Two years of Robocoding, and I never saw it coming... :)<br>
 
<font size=1>(2004-01-08)</font> <b>v2.21 released:</b> Experimental adaptive movement. Should take care of the "easy" problem bots and also, I hope, improve the performance against the top bots. Ranking 1874 :)<br>
 
<font size=1>(2003-12-23)</font> <b>v2.15 released:</b> Simplified movement (practice what you preach ;)). 2.11 had two slightly different movement parameter sets, chosen randomly before each round, now it's back to just one. Kills the latest BlestPain by a good margin. Ranking: 1842, seems to have worked. :)<br>
 
<font size=1>(2003-12-10)</font> <b>ShadowTeam released:</b> More work for [[Paul]]... ;)<br>
 
<font size=1>(2003-12-05)</font> <b>v2.11 released:</b> New melee movement. Consistently better than DT 2.22 in my tests, still lots of (small) details to optimise. 1v1 unchanged, got to work on that, 2.02 got exactly the same ranking as 2.01 despite my (1000 rounds) tests indicating a small improvement...<br>
 
<font size=1>(2003-11-26)</font> <b>v2.11 almost ready:</b> I want to thank [[Vuen]] for encouraging me to work on Shadow's melee strategy even though there are currently no active competitions. Acording to my tests v2.11 will be a very strong candidate to the melee crown, it currently outscores DT 2.11 even in long battles (5K rounds), and I believe it still has some room for improvements.<br>
 
<font size=1>(2003-11-18)</font> <b>v2.02 packaged:</b> After countless movement tweaks (going in circles, mainly), I decided to release v2.02. It now wins against BlestPain, FloodMini, and others, including 54/46 against v2.01. Unfortunatly the repository went offline the exact moment I decided to upload it, so a "real world" test will have to wait. :( <br>
 
<font size=1>(2003-10-17)</font> <b>v2.01 released:</b> Completely redone with curve flattening movement and my "pattern recognition" gun. Top 10 in the RoboRumble, I'm happy :)<p>
 
----
 

Revision as of 12:57, 25 July 2009

Shadow Sub-pages:
Version History - Archived Talk 20040725 - Archived Talk 20090724 - Melee Gun
Shadow
http://robocode.aclsi.pt/shadow_logo_anim4.gif
Author(s) ABC
Extends AdvancedRobot
Targeting Dynamic Clustering
Movement Wave Surfing
Released A long time ago...
Current Version v3.84
Code License Proprietary
Download

Background Information

What's special about it?
It is the first robot that uses this type of gun as describe below, and it is the first Wave Surfer ever.
Also, it is my first ever competitive bot redone with "modern" technologies.

Strategy

How does it move?
Shadow is the first robot that features Wave Surfing.
How does it fire?
This gun is firstly describe as Tron's Gun. I call it a "forward pattern matcher".
But later this gun is named Dynamic Clustering Play-It Forward gun.
How does it dodge bullets?
By surfing enemy's waves.
How does the melee strategy differ from one-on-one strategy?
It uses a Minimum Risk Movement
v3.84: with the HOT-avoidance system
How does it select a target to attack/avoid in melee ?
It doesn't, instead it uses the strategy describe at Shadow/Melee Gun.
What does it save between rounds and matches?
Between matches: Nothing.
Between rounds: Everything.

Additional Information

Where did you get the name?
From it's colors. I made it dark, like a shadow. ;)
Can I use your code?
It is not open source. I'm a very sloppy coder (when I can ;)).
What's next for your robot?
Movement optimising, it still hits the walls too often. After that I'll work on the gun.
What other robot(s) is it based on?
Tron 2.02