"What are you trying to tell me? That I can dodge bullets?"
"No, Neo. I'm trying to tell you that when you're ready, you won't have to."
A quick note: In testing I have found an interesting thing. Against TrackFire (thats been my main test bot) TrackFire is given 15 to 20 survival firsts in a 10 round battle. Strange bug there. I think it has to do with being killed at the end of each round (when the bullets dont collide they will kill each other in the end, with track fire getting it first since it always fires first) -- Jokester
If I am correct, bullets are handled as a line with length 8. The chance to hit a line head-on (1 pixel) is not that high. Shooting bullets from a bit sideways has a much bigger chance, but then you have to move. You could always try to shoot bullets of 2.49 power at the end, then you can shoot one tick earlier the next time, and the bullets are a bit faster too. With a bit of luck the enemy is killed and you are registered as the winner before you are killed. -- GrubbmGait
Cool! I remember someone else trying to do something similar to this before. I can't remember the author or the bot though. But with a bot named Neo out there, its giving me more incentive to get AgentSmith finished so I can crush Neo! :) --wolfman
Well at the moment I am using a formula that takes the fastest possible time until a collision (assuming they are moving along the same line) and then varying my speed so that that time is an integer. The two reasons that that wont work are either the gun isnt exactly aligned with the target when I shoot, or that there is a double precision error that is causing the bullets to register at a slightly different location. I have a similar issue with my victory dance (if you download PheonixM and let it win youll see what it does) where about 25% of the time the bullets dont hit each other, while with the exact same variables they sometimes do. I might try getting Neo to move to the same X or Y as the other robot in order to keep the bullets on the same line, but I dont think that will be particularly effective. -- Jokester