I took
OthoMicro's gun and added a
MultipleChoice algorithm. The movement was altered as well, but I'm not sure if it's better.
Version History
- 2004 05 19 - version 0.15
- Added my own cheap and lousy implementation of a MusashiTrick-style maneuvre.
- 2004 05 15 - version 0.14
- Gun tweak - increased weighting for heading change.
- Rating: 1702 (general), 1683 (mini)
- 2004 05 13 - version 0.131
- Fixed a minor targeting bug in 0.13 and 0.12.
- Rating: 1697 (general), 1680 (mini)
- 2004 05 12 - version 0.13
- Shortened pattern length.
- Rating: 1698 (general), 1677 (mini)
- 2004 05 08 - version 0.12
- Top 10 is too cliché, so I'll try a maximum of 20 best matches instead. As well, the number of top matches increases with the amount of data, instead of using a fudge factor.
- Rating: 1698 (general), 1684 (mini)
- 2004 05 05 - version 0.11
- Increased pattern length; replaced distance change with relative heading; slightly changed wall avoidance.
- Rating: 1694 (general), 1677 (mini)
- 2004 05 04 - version 0.1
- Hopefully, it will be better than OthoMicro. :-p
- Rating: 1656 (general), 1636 (mini)
How does it fire?
First, it finds the 10 best matches using a velocity - angular velocity pattern matcher. Then, it calculates the average of the headings to the 10 predicted points. The heading that deviates most from the average is dropped, and the process is repeated until 3 headings are left. Finally, the best of the remaining 3 is selected.
How does it move?
Math.random() with some modifications to make it a little less suicidal.
--Rational Insanity