[Home]Strider

Robo Home | Changes | Preferences | AllPages

Showing revision 7
I have silently read this wiki and done some small unreleased test robots since spring 2004. I released my first bots at the end of august 2004.

Robots

Name Size Features
Festis NanoBot WallSmoothing
Mer NanoBot StatisticalTargeting / GuessFactorTargeting

Crazy stuff

I had a crazy idea I just had to try to implement. I got it when working on my nanobots. It's a way to cheat codesize.jar and fit more advanced code into the bot than would otherwise be possible. Because only bytecode counts and strings in the class file are free I though that it must be possible to put the actual code into strings and then execute them using an interpreter.

I have implemented an interpreter for a custom "bytecode". The interpreter is just over 700 bytes of bytecode so it fits in a microbot. I think java put a limit of 64Kb on strings so thats the limit of how advanced the bot can be. Well, the interpreted language puts a lot of constraints on what can be done. Here are some of the features:

The custom bytecode looks a bit like [funge]. It is hard to write, harder to read and probably impossible to debug, so don't expect any killer bot comming out of this. =)

When I have cleaned up the code a bit I'll post it if someone is interested.

Have anybody tried something like this before?


Great! Welcome to the wiki :-) --Vic

Thanks! -- Strider

My 60Gb disk crashed last week. Luckely my cvs-repository was on the other disk so I lost none of my programming projects. Now I have a new 200Gb disk and have reinstalled most of the programs I use. To test my setup of RoboRumble I have released a new version of Festis with new targeting. I'm also going to make the source code of both my bot available on the wiki (extra backup in case I suffer another crash). -- Strider


Way cool that interpreter of yours. When will you release it? I'd like to try build a bot using it. Since I used to code in PostScript? some years ago I might have a head start with it. -- PEZ

Robo Home | Changes | Preferences | AllPages
Edit revision 7 of this page | View other revisions | View current revision
Edited September 17, 2004 0:52 EST by PEZ (diff)
Search: