What is the difference between frame and tick in robocode
Answer: A tick refers to one unit, which is also called a Turn in Robocode. During one turn, you may perform one action as a Robot, or multiple (independent) actions as an AdvancedRobot. A frame is a unit of drawing to the Robocode client interface. If you are processing turns slowly, you will get one frame per tick / turn. However, if you up the turns per second beyond your computer's ability to render the frames, you will miss some frames of animation. This won't affect the robots' behavior, unless you foolishly added code in your onPaint( Graphics2D ) method that alters your bots behavior. In that case, your bot will behave differently depending on whether or not the Paint button has been enabled, and if the framerate can keep up with the turnrate. -- Martin
Thanks Martin. I put your suggestion into the FAQ. :-) --Fnl 21:28, 10 October 2008 (UTC)
Uploading your bot
This page mentions you can upload your bot to www.robocoderepository.com, but I haven't been able to upload there in several days. An alternative would be very welcome. I've tried several free hosters, but they all seem unreliable (one of the problems is hotlinking). Do you guys have any suggestions? If someone was capable and willing to fix this problem, I think some kind of server with php upload, or wiki fix not to capitalize the package name would be awesome. :) --Positive 19:40, 6 November 2009 (UTC)
Well, wiki file upload supports jar files... but the Mediawiki page name rules require starting with uppercase so... the wiki file upload will work iff (if-and-only-if) your package starts with uppercase (which is against Java conventions) --Rednaxela 21:19, 6 November 2009 (UTC)
Well, as far as I know Red, Skil, Void, I and probably some more use our own host. If you want a free, reliable host I'd suggest Google Sites (which, AFAIK, Zyx uses). --Nat Pavasant 05:44, 7 November 2009 (UTC)
- Thanks for the suggestion, it seems to work! Although I do think a more general solution would be better to accommodate new users. --Positive 10:45, 7 November 2009 (UTC)
Are bullets fired from the end of the barrel of the turret?
Or are they initialized at the center of the robot's position? Ceasar 20:45, 9 August 2011 (UTC)
They start at the center of the robot on the tick that you call setFire (or fire or setFireBullet). --Voidious 20:48, 9 August 2011 (UTC)
What exactly determines the size of the bullets?
I noticed they scale based on power. I'm wondering how exactly that is determined. Ceasar 20:51, 9 August 2011 (UTC)