Difference between revisions of "User:Miked0801"
(I may have figured out how to cheat codesize...) |
|||
Line 9: | Line 9: | ||
** [[Moebius]] -1v1 pattern matcher | ** [[Moebius]] -1v1 pattern matcher | ||
** [[Tide]] - Rambot | ** [[Tide]] - Rambot | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Uh oh, I think I just figured out how to completely cheat the codesize thing. I could probably fit all of [[Toorkild]]'s code into a nanobot. How? Running Java Byte code from a static buffer. Take any robot's byte code and drop it statically into an array/string/whatever. Array values do not count towards size. Write a routine that jumps the code pointer into the array. You are now running a nearly infinite amount of code without a major size hit. I could probably write a bot like this in an evening if I really wanted to cheat and win this badly. Thoughts? --[[User:Miked0801|Miked0801]] 01:02, 28 May 2009 (UTC) | ||
[[Category:Bot Authors|Miked0801]] | [[Category:Bot Authors|Miked0801]] |
Revision as of 02:02, 28 May 2009
Just a quick page create to let everyone know I still peruse Robocode on occasion. I'm happy to see DustBunny and Infinity doing their things, and Moebius getting stomped :)
My Bots:
Uh oh, I think I just figured out how to completely cheat the codesize thing. I could probably fit all of Toorkild's code into a nanobot. How? Running Java Byte code from a static buffer. Take any robot's byte code and drop it statically into an array/string/whatever. Array values do not count towards size. Write a routine that jumps the code pointer into the array. You are now running a nearly infinite amount of code without a major size hit. I could probably write a bot like this in an evening if I really wanted to cheat and win this badly. Thoughts? --Miked0801 01:02, 28 May 2009 (UTC)