LemonDrop

From Robowiki
Revision as of 04:09, 12 May 2010 by Exauge (talk | contribs) (new version (1.5.145))
Jump to navigation Jump to search
LemonDrop
Lemondrop.jpg
Don't underestimate the power.
Author(s) Exauge
Extends AdvancedRobot
Targeting Pattern Matching
Movement Random Movement & Stop & Go
Current Version 1.5.145 BETA
Code License RWLPCL
Download
Source

Background Information

Bot Name
LemonDrop
Author
Exauge
When is LemonDrop coming out of BETA?
LemonDrop is officially coming out of BETA on 25 May.
Extends
AdvancedRobot
What's so special about it?
It's my first robot which implements a small, but effective (against small bots) Random Movement. Most lightweight pattern matchers have a very difficult time hitting it. Also it has multi-mode movement that works as follows: if it loses 3 rounds before it wins 3, it switches to a Stop & Go movement (to perform better against basic targeting methods). It then runs the Stop & Go movement until it loses 3 rounds. After that, it figures which movement performed the best, and uses it for the remaining rounds. Recently added anti-rambot features in order to score higher against rambots which it has been scoring quite low against...
How competitive is it?
Fairly - it's #60 in the microrumble and #284 in the general rumble. <---(not up to date)
Where can I get it?
Just click the download link to the right.
Version Information
1.0 - Pattern Matching, Random Movement, Infinity lock
1.1 - stronger movement algorithm, strengthened wall avoidance
1.2 - strengthened movement even more, changed gun a wee bit ;), corrected small glitch
1.3 - small gun tweaking, better wall avoidance, stronger movement, narrow lock radar
1.4 - multi-mode movement, fixed "sticky-wall glitch" by reverting to previous wall avoidance
1.5 - a few fixes and most importantly added some antiram, improved gun/slimmed code a little

Strategy

How does it move?
Random Movement, Stop & Go
How does it fire?
Pattern Matching
How does it dodge bullets?
Random Movement, Stop & Go
How does the melee strategy differ from One-on-one strategy?
It doesn't. It's not a melee bot - its radar has not even been focused to function when fighting more than one bot - that might be implemented soon.
What does it save between rounds and matches?
A few static variables including symbolic state, effectiveness of movement methods, win count, movement to use, and a couple others because they use less codesize lol :p.

Additional Information

Where did you get the name?
It just came to me :P
Can I use your code?
Absolutely. It's RWLPCL. I commented the code a lot to make it easier to understand, but it's slightly compressed to save codesize so you might have to pay semi-close attention. You can view the code by clicking the source link to the right. You can see more free code / tutorials at my code snippets page.
What's next for your robot?
Add a few more advanced features, maybe switch to GuessFactor Targeting, integrate a flawless wall avoidance while keeping it micro size.
Does it have any White Whales?
Thorn, Waveshark, Smoke, Raiko, and Acero. (Could change with V 1.5 :O)
What other robot(s) is it based on?
I used a slightly altered version of Robar's BlackWidow gun.