Talk:VARBot

From Robowiki
Revision as of 16:08, 10 June 2010 by Voidious (talk | contribs) (also Twin Duel)
Jump to navigation Jump to search

For those that have tackled messaging between teammates or have thought about the concept, I'd like to hear about it. I plan to document the various team-based messaging concepts here prior to implementation and the stuff that actually works will end up in the documentation.

I've done a bit. The most sophisticated thing I've done was full scan sharing. In this setup, a bot receives an onScannedRobot event for each scan by anyone on the team (but one tick later, because it takes one tick to send). This involved pulling the raw info from ScannedRobotEvent, packaging it into a Serializable object along with the bot's location, broadcasting it, then recreating the ScannedRobotEvent (tweaking some things that are relative to scanning bot's location) on the other side and firing an onScannedRobot manually. I have it in a Twin Duel team somewhere, I could find it and share if you're interested.

Good luck with your bot. Sounds like you are off to a good start. =) --Voidious 15:07, 10 June 2010 (UTC)

Oh, one more thing - a lot of Twin Duel teams do some very minimal team communication, and many of those are open source if you want to take a look. My LuminariousDuo just sends current location to its teammate each tick, for instance. --Voidious 15:08, 10 June 2010 (UTC)