[Home]FloodSonnet

Robo Home | Changes | Preferences | AllPages

Showing revision 2
A work in progress, and an effort in taking all Iiley learned from me in code obfuscation when he wrote MeleeXaxa and putting it into a Sonnet. It still has a bug somewhere, but eventually I think it will have good odds of winning the sonnet 1-on-1 division of the RobocodeLittleLeague. It may also become the first non-MiniBot in that tournament, if no one gets there in the next day or so. Here's the current lines breakdown:

 global variable declarations: 1 line (why use more?)
 radar: 2 lines (I may be able to bum this one down one more yet, I haven't decided if I will yet, though)
 movement: 3 lines (turn, drive, set max velocity)
 targeting: 2 lines (aim/fire, setAdjustGunForRobotTurn)
 VB management: 4 lines (variable declarations, removing the custom event, adding the custom event, returning from the test method, using PEZ's event-style bullet)
 Finding the bearing to shoot at from my stat buffer: 0 lines (ha!)
 File I/O (melee-compatible) : 2 lines (ha again! You'd thought it would be more, eh?  Could have been 1, but I need to close my output stream...)

It should essentially be equivalent to FloodMini without DynamicDistancing (as that would take at least about 3 more lines to do right. I suppose I could fudge it, but it would be too much effort to save the distancing data, too). Current codesize is 1920 bytes.

Update: I found the bugs in the gun now I'm pretty sure, it works much closer to where I expected. I also added some melee logic in there, and it's becoming quite a bloated Sonnet, over 3000 bytes currently. Getting close to releasing it here... -- Kawigi


Robo Home | Changes | Preferences | AllPages
Edit revision 2 of this page | View other revisions | View current revision
Edited October 8, 2003 20:16 EST by Kawigi (diff)
Search: