View source for User talk:AW
If you are posting a comment on this wiki, please sign your messages using four tildes (--~~~~); this will automatically insert your username and the date stamp. If you are not familiar with MediaWiki, these links might help you out:
I have a problem with my code, but I cannot figure out what it is. I am calculating the ticks left until my gun heat is 0, which should be (gunHeat / gunCoolingRate). Then I normalize this from 0 to 1 by dividing by the maximum possible ticks until gun heat equals zero (maxGunHeat / gunCoolingRate), but I am getting values of 1.4 and 1.3 sometimes. Here is my code:
double ticksUntilFire = (robot.getGunHeat() / robot.getGunCoolingRate()) / (Rules.getGunHeat(Rules.MAX_BULLET_POWER) / robot.getGunCoolingRate());
I know that is redundant, but I will optimize later. Anyone know what I am doing wrong?--AW 01:06, 3 June 2011 (UTC)
I believe that at the beginning of rounds, robots start out with a gun heat greater than that generated by a power 3 bullet. That could be your problem--CrazyBassoonist 01:31, 3 June 2011 (UTC)
|Thread title||Replies||Last modified|
|Congratulations on your defense!||1||14:14, 22 May 2021|
|Thanks to the robocode community||4||22:09, 9 March 2013|
I also defended recently (which is why I now have some free time for robocode)! I love how robocode has led many people, myself included, to pursuing computer science.
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.
It is truly incredible how advanced the Robocode paradigm has become in a little over a decade. The only other game I can think of that has become such a precise art is Chess, and that has been around for a millennium!
Completely off-topic, Gil-galad's glaive is usually spelled "Aeglos" not "Aiglos."
Nice to see another Lord of the Rings fan. I'll change that with the next release.