Difference between revisions of "Watermelon"
(→Radar) |
|||
Line 1: | Line 1: | ||
+ | {{Infobox Robot | ||
+ | | name = [[Watermelon]] | ||
+ | | image = WatermelonStockPhoto.jpg | ||
+ | | author = [[User:Synapse|Synapse]] | ||
+ | | extends = [[AdvancedRobot]] | ||
+ | | targeting = none | ||
+ | | movement = [[Wave Surfing]] | ||
+ | | released = TBD | ||
+ | | best_rating = N/A | ||
+ | | rating = N/A | ||
+ | | current_version = alpha | ||
+ | | download_link = not released | ||
+ | }} | ||
+ | |||
== Structure == | == Structure == | ||
It's built on a modular framework, coded pretty cleanly, but not good enough yet to be open source. Maybe once it's done something on the rumble that will change. | It's built on a modular framework, coded pretty cleanly, but not good enough yet to be open source. Maybe once it's done something on the rumble that will change. | ||
− | + | Currently developing in [[Robocode/Eclipse|Eclipse]]. Early on I used an educational IDE called BlueJ (its interface is a UML diagram, very pretty). | |
== Movement == | == Movement == | ||
Line 27: | Line 41: | ||
Paints waves, with brighter segments where the bins are fuller. Also marks predicted future positions. | Paints waves, with brighter segments where the bins are fuller. Also marks predicted future positions. | ||
+ | __NOTOC__ | ||
[[Category:Bots|Watermelon]] | [[Category:Bots|Watermelon]] | ||
+ | [[Category:1-vs-1 Bots|Watermelon]] | ||
+ | [[Category:Melee Bots|Watermelon]] | ||
+ | [[Category:MegaBots|Watermelon]] | ||
+ | [[Category:Unreleased Robots|Watermelon]] |
Revision as of 08:23, 6 September 2008
Watermelon | |
Author(s) | Synapse |
Extends | AdvancedRobot |
Targeting | none |
Movement | Wave Surfing |
Released | TBD |
Best Rating | N/A |
Current Rating | N/A |
Current Version | alpha |
[not released Download] |
Structure
It's built on a modular framework, coded pretty cleanly, but not good enough yet to be open source. Maybe once it's done something on the rumble that will change. Currently developing in Eclipse. Early on I used an educational IDE called BlueJ (its interface is a UML diagram, very pretty).
Movement
Uses Wave Surfing, implemented in a straightforward manner. To the extent that that's possible grumble grumble. I used Simonton's non-iterative Wall Smoothing code, and my own future position prediction. It took forever to realize that the future prediction needs to call the wall smoothing function for each imaginary tick, but I finally got it.
It kind of uses the Musashi Trick, by seeding the bins with a single hit at Guess Factor 1. The magnitude of the initial seed is such that the first real hit overrides it.
It also takes bot width into account, averaging the danger from covered bins.
Currently there's no segmentation, but I kept the possibility in mind, so it shouldn't be too painful.
Firing
None yet. I can't really live-test any guns until I have enough movement to stay alive.
Radar
Uses the same radar in melee and in 1v1 conflicts. An implementation quirk makes it look like a lazy spotlight.
Debug Graphics
Paints waves, with brighter segments where the bins are fuller. Also marks predicted future positions.