Talk:BlackWidow

From Robowiki
Revision as of 00:57, 9 March 2009 by Nat (talk | contribs)
Jump to navigation Jump to search

Can reduced codesize a lot this robot is. I've told you, make a turning before gun code so you can saved one e.getBearingRadians(). I think the distance if assign it to variable will save the codesize, but not sure. I think its random movement is very vulnerable to Circular Targeting. You chose new direction on bullet fire, but if you still go the same direction.... !!!!

Ok-ok, I just set up Eclipse and saw that it's 247 bytes with Jikes instead of 250 with NetBeans. (probably javac) I immediately signed it up to the rumble, so there are many things to optimize.
I don't understand why you mention random movement and circular targeting. That's the stopNgo's task. I optimized random movement against PM and HOT. Anyway, it isn't a lot worse than Ocnirp's random movement, according to the results... --HUNRobar 17:14, 5 March 2009 (UTC)

  • Note: Eclipse doesn't use Jikes, I think is is javac, but don't know how that happend. » Nat | Talk » 14:17, 7 March 2009 (UTC)

Right now, I surprised that this bot get higher APS score than OcnirpSNG, but I still win by both PL and ELO :-) Let see when all my test bot removed. But BlackWidow still lost to both Ocnirp and OcnirpSNG. Another surprise is that this one lost much to NanoDeath and NeophyteSRAL!

One more question to ask you, your nano guru HUNRobar, what is smaller, String or StringBuilder (or StringBuffer in that way)? » Nat | Talk » 14:14, 7 March 2009 (UTC)

But BlackWidow is better at Survival (+ ~2%) and beats weaker bots better than Ocnirp. Anyway, on Friday I started to make Mosquito with PM. ;) I implemented WeekendObsession's code and it's 10 bytes less in codesize! I'm considering to update all my pm bots to Simonton's code. I think the top 4 can start to fear. ;) --HUNRobar 17:06, 8 March 2009 (UTC)


I don't know do you know this or not, but there is a bot with name BlackWidow already! » Nat | Talk » 10:40, 8 March 2009 (UTC)

Yes, I got to know it 2 days ago, but it isn't in the rumble, isn't it? --HUNRobar 17:06, 8 March 2009 (UTC)

Yes, it isn't in the rumble. But next time you should check the robot name more careful to avoid another duplicated =) » Nat | Talk » 23:57, 8 March 2009 (UTC)