|Thread title||Replies||Last modified|
|Robocode Repository most popular||2||17:30, 10 October 2013|
|Error in the code||0||17:17, 15 September 2013|
|AVG Velocity||4||12:07, 9 September 2013|
On monday, I saw fusion on the most popular downloads list. I don't think it belongs there. As of October 9th, Fusion has 56 downloads while EpeeistMicro has 8436, Sabreur has 8868, and LittleBlackBook has 2181. Before Fusion, PatternAdept had around 5000. What is going on?
I'm not sure - I don't think Dan Lynn, the guy who runs the Robocode Repository, frequents the RoboWiki. So you might want to try and find a contact link on the site.
That said, Fusion is a really, really old bot. I wouldn't be surprised if the 56 downloads is the part that's wrong, not his spot in the most popular list.
I think the popular list is ordered by downloads per day. So if Fusion has been uploaded for 3 days, 56 downloads will mean 18.6667 per day. Whereas an older bot on the repository for a year with 4000 downloads will only have 10.9589 per day, and will be lower on the popular list.
I think there is a mistake in your code. It seems you have switched from degrees to radians, but not switched all of the actual math.
This should actually be
setTurnRightRadians(e.getBearingRadians() + Math.PI/2 - (Math.PI/4.5)*movementDirection);
setTurnRightRadians(Math.toRadians(e.getBearing() + 90 - 40*movementDirection);
I know it may seem like segmented or statistical targeting, but is it truly? I myself am not sure. Maybe an expert can tell me.
Yep, it is. Don't know anymore if it is only the speed averaged or also the turnrate, it is a bot from 2006. Main reason for the averaged gun was to be able to hit those pesky stop and go bots.
Thanks for letting me know. I did not want to copy anybody without permission.
It is no problem to copy/lend ideas, otherwise this whole wiki would have no existence. In no way I was/am original in my ideas, but I try to be original in my implementation. It is about your translation of an idea to your situation and code. So feel free to develop the best averaged circular gun there is!