Difference between revisions of "Thread:Talk:Épéeist/Code mods"
Jump to navigation
Jump to search
Skilgannon (talk | contribs) (New thread: Code mods) |
Skilgannon (talk | contribs) (mod to account for distance) |
||
Line 3: | Line 3: | ||
However, with my tuned compiler/shrinker setup, I have this bot down to 237 bytes. | 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 | + | I'm using Jikes as a compiler, and then I post-process the .jar with ProGuard to shrink another 1 to 4 bytes off. |
+ | |||
+ | I modded the first gun to also take distance into account on everything except the match position, after compile and shrink it is a healthy 249. | ||
Here it is: [https://dl.dropbox.com/u/4066735/sheldor.nano.Epeeist_2.0.jar] | Here it is: [https://dl.dropbox.com/u/4066735/sheldor.nano.Epeeist_2.0.jar] |
Revision as of 21:49, 19 March 2013
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 1 to 4 bytes off.
I modded the first gun to also take distance into account on everything except the match position, after compile and shrink it is a healthy 249.
Here it is: [1]