Talk:Fusion

From Robowiki
Jump to navigation Jump to search

Contents

Thread titleRepliesLast modified
Robocode Repository most popular217:30, 10 October 2013
Error in the code017:17, 15 September 2013
AVG Velocity412:07, 9 September 2013

Robocode Repository most popular

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?

BeastBots101 (talk)03:04, 10 October 2013

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.

Voidious (talk)16:30, 10 October 2013
 

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.

Maribo (talk)17:30, 10 October 2013
 

Error in the code

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.

setTurnRightRadians(e.getBearing()+90-40*movementDirection);

This should actually be

setTurnRightRadians(e.getBearingRadians() + Math.PI/2 - (Math.PI/4.5)*movementDirection);

or

setTurnRightRadians(Math.toRadians(e.getBearing() + 90 - 40*movementDirection);
Maribo (talk)17:17, 15 September 2013

AVG Velocity

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.

BeastBots (talk)01:56, 7 September 2013

It sounds like Circular Targeting but with averages instead of current values for speed/turn rate? If so, one of GrubbmGrb's guns is like that.

Voidious (talk)23:15, 7 September 2013

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.

GrubbmGait (talk)13:26, 8 September 2013

Thanks for letting me know. I did not want to copy anybody without permission.

BeastBots (talk)01:59, 9 September 2013

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!

GrubbmGait (talk)12:07, 9 September 2013