Code mods

Jump to navigation Jump to search
Revision as of 19 March 2013 at 20:27.
This is the thread's initial revision.

OK, I've looked over the code. Even on a regular compiler you should be able to get this under 250, just use the gun with the hard-coded distances, then make chancesOfReversing final, since you aren't changing the contents anywhere.

However, with my tuned compiler/shrinker setup, I have this bot down to 237 bytes.

I'm using Jikes as a compiler, and then I post-process the .jar with ProGuard to shrink another ~4 bytes off.

Here it is: [1]

    Skilgannon21:27, 19 March 2013