# History of DavesPatentedAntiMirroringGun

Robo Home | Changes | Preferences | AllPages

Revision 6 . . February 29, 2004 9:02 EST by David Alves [better formatting]
Revision 5 . . July 16, 2003 16:25 EST by PEZ

Difference (from prior major revision) (no other diffs)

Changed: 5,10c5,10
 1. Select our bot's next destination point. 2. Calculate time it will take our bot to drive to the destination point. (Don't forget acceleration - you can't just divide by 8) 3. Calculate mirrored destination point. 4. Calculate bullet power required for a bullet fired from our current location to reach the mirrored destination point at the time given by step 2. Since they are mirroring us the time for us to drive to our destination is the same as the time for them to drive to the mirrored destination. Remember that bullet speed = 20 - 3 * bullet power. 5. Turn gun toward mirrored destination point, holding fire until gun turn is complete. Since PerceptualDuelist was a perceptual bot I had to use waitFor(new GunTurnCompleteCondition?(this)). This caused it to do nothing for several turns while the gun was turning. 6. Fire with bullet power from step 4.
 #Select our bot's next destination point. #Calculate time it will take our bot to drive to the destination point. (Don't forget acceleration - you can't just divide by 8) #Calculate mirrored destination point. #Calculate bullet power required for a bullet fired from our current location to reach the mirrored destination point at the time given by step 2. Since they are mirroring us the time for us to drive to our destination is the same as the time for them to drive to the mirrored destination. Remember that bullet speed = 20 - 3 * bullet power. #Turn gun toward mirrored destination point, holding fire until gun turn is complete. Since PerceptualDuelist was a perceptual bot I had to use waitFor(new GunTurnCompleteCondition?(this)). This caused it to do nothing for several turns while the gun was turning. #Fire with bullet power from step 4.

Changed: 22c22
 Marshmallow has had a half-good anti-mirror gun a while now. It simply asks the movement system where the bot is going and shoots there. The problem with knowing if I'm being mirrored or not is solved by the VirtualGuns statistics. -- PEZ
 Marshmallow has had a half-good anti-mirror gun a while now. It simply asks the movement system where the bot is going and shoots there. The problem with knowing if I'm being mirrored or not is solved by the VirtualGuns statistics. -- PEZ

Robo Home | Changes | Preferences | AllPages
Search: