Difference between revisions of "Talk:Talon/source"

From Robowiki
Jump to navigation Jump to search
(info and request for help)
 
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
It's 248 bytes, removing the colors nets it another 7 to 241 bytes (javac). I need to find a way to give this little guy some center avoidance, but I am at a loss. I am not to good at writing nanos. If anyone can squeeze anything in there, might be OK for the melee nano rumble. &#8212; <span style="font-family: monospace">[[User:Chase-san|Chase]]-[[User_talk:Chase-san|san]]</span> 11:57, 30 January 2011 (UTC)
+
It's 242 bytes, removing the colors nets it another 7 to 235 bytes (javac). I need to find a way to give this little guy some center avoidance, but I am at a loss. I am not to good at writing nanos. If anyone can squeeze anything in there, might be OK for the melee nano rumble. &#8212; <span style="font-family: monospace">[[User:Chase-san|Chase]]-[[User_talk:Chase-san|san]]</span> 11:57, 30 January 2011 (UTC)
 +
 
 +
Now down to 230 with colors or 223 without them. &#8212; <span style="font-family: monospace">[[User:Chase-san|Chase]]-[[User_talk:Chase-san|san]]</span> 16:02, 30 January 2011 (UTC)
 +
 
 +
Down to 220/213 (javac). &#8212; <span style="font-family: monospace">[[User:Chase-san|Chase]]-[[User_talk:Chase-san|san]]</span> 17:11, 30 January 2011 (UTC)
 +
 
 +
 
 +
Going back over this code, I found some errors I am going to fix. Mostly with the direction choosing. &#8212; <span style="font-family: monospace">[[User:Chase-san|Chase]]-[[User_talk:Chase-san|san]]</span> 16:05, 2 July 2011 (UTC)
 +
 
 +
EJC 229 bytes, needs work to avoid the walls and it should be pretty good, maybe if I have room add in something to get that missed scan back. &#8212; <span style="font-family: monospace">[[User:Chase-san|Chase]]-[[User_talk:Chase-san|san]]</span> 16:32, 2 July 2011 (UTC)
 +
 
 +
I'll check it out as well to see if there's anything else to be squeezed.  Never thought about using try catch blocks... --[[User:Miked0801|Miked0801]] 17:20, 2 July 2011 (UTC)
 +
 
 +
: I wish I could get rid of some of those variables, but the v[] I think actually gives me codesize. Can't think of any other way to do t, but might be able to initialize that to 0 and just use ++ with my try there, but might get some empty/ancient scans with that. Biggest issue is wall avoidance, not sure how to squeeze that in there.  &#8212; <span style="font-family: monospace">[[User:Chase-san|Chase]]-[[User_talk:Chase-san|san]]</span> 18:57, 2 July 2011 (UTC)

Latest revision as of 19:57, 2 July 2011

It's 242 bytes, removing the colors nets it another 7 to 235 bytes (javac). I need to find a way to give this little guy some center avoidance, but I am at a loss. I am not to good at writing nanos. If anyone can squeeze anything in there, might be OK for the melee nano rumble. — Chase-san 11:57, 30 January 2011 (UTC)

Now down to 230 with colors or 223 without them. — Chase-san 16:02, 30 January 2011 (UTC)

Down to 220/213 (javac). — Chase-san 17:11, 30 January 2011 (UTC)


Going back over this code, I found some errors I am going to fix. Mostly with the direction choosing. — Chase-san 16:05, 2 July 2011 (UTC)

EJC 229 bytes, needs work to avoid the walls and it should be pretty good, maybe if I have room add in something to get that missed scan back. — Chase-san 16:32, 2 July 2011 (UTC)

I'll check it out as well to see if there's anything else to be squeezed. Never thought about using try catch blocks... --Miked0801 17:20, 2 July 2011 (UTC)

I wish I could get rid of some of those variables, but the v[] I think actually gives me codesize. Can't think of any other way to do t, but might be able to initialize that to 0 and just use ++ with my try there, but might get some empty/ancient scans with that. Biggest issue is wall avoidance, not sure how to squeeze that in there. — Chase-san 18:57, 2 July 2011 (UTC)