# User talk:AW

Thought you might like :-) --Nat Pavasant 11:13, 4 March 2011 (UTC)

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)

Yep, robot start with 3.0 gun heat, which is more than power 3 bullet. --Nat Pavasant 11:25, 3 June 2011 (UTC)

## Contents

Thanks to the robocode community421:09, 9 March 2013

## Thanks to the robocode community

I just wanted to thank everyone for their help with Robocode. Contrary to my previous beliefs, Robocode has proved quite practical. I basically wrote my college entrance essays about it, got the national merit scholarship writing about it, and just recently, got invited by MIT to the Battlecode finalist celebration merely for spending a few hours making a minRisk movement for Battlecode. Robocode is awesome! Thanks to everyone helping out with the Robocode community!

God bless you, AW

AW03:35, 1 February 2013

Congrats dude, that's awesome! =)

Voidious15:37, 1 February 2013

Congratulations!

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."

Sheldor17:14, 1 February 2013

Nice to see another Lord of the Rings fan. I'll change that with the next release.

AW20:52, 9 March 2013

Thanks!

I'm thinking that if I ever make a neorumble bot, I'll name it Fingolfin. Though I hope it would fare better than its namesake.  :(

Sheldor21:09, 9 March 2013