Best laid plans
One thing you may want to look into for SRAL and PRAL is either switching to onBulletHit
enemy energy adjustment, which is more effective than making sure the energy drop is less than 3.0, or using Miked0801's char trick to save 6 bytes over your current method of checking the enemy bullet power.
Also, I think SRAL's scores against oscillators would be greatly improved by increasing the rolling depth to about 30. That way you average both the positive and the negative, and shoot closer to GF0.
Just for fun, I doodled a bot that kept rolling averages of the enemy's lateral velocity at every rolling depth between 1 and 100, and then picked one at random at which it would aim. If you're interested, I could post the code on the wiki.
You're welcome to use any trick you see in my bots, as long as you give credit and keep your bot open-source.
Good luck
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Return to Thread:User talk:Nz.jdc/Best laid plans/reply (2).