View source for Talk:Fusion

From Robowiki
Jump to navigation Jump to search

Contents

Thread titleRepliesLast modified
Robocode Repository most popular216:30, 10 October 2013
Error in the code016:17, 15 September 2013
AVG Velocity411:07, 9 September 2013

Robocode Repository most popular

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

 

Return to Thread:Talk:Fusion/Robocode Repository most popular.

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)15: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)16: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)16: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)00: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)22: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)12:26, 8 September 2013

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

BeastBots (talk)00: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)11:07, 9 September 2013