Robocode Guide vie explanation of a top robot

Jump to navigation Jump to search
Revision as of 5 March 2013 at 17:27.
The highlighted comment was created in this revision.

Robocode Guide vie explanation of a top robot

I have been thinking about writing a guide for robocode for a while and was wondering what you guys thought. My initial plan was to go through Gilgalad and explain how everything works. I've been cleaning up Gilgalad's code so it could be used as a frame work and the new users could just mess about with different classifiers, but now I'm wondering if there Diamond on Xandercat would be better. Obviously, I have a better understanding of Gilgalad than I have of these bots, but on the other hand, reading through their code would help me get the perspective of someone who didn't write the robot.

Any thought?

    AW15:23, 5 March 2013

    Seems like a great idea. We may be in one of those phases where top bots are way ahead of any formal documentation of what they're doing, like Wave Surfing in early 2006.

    I do think Diamond is a very clean and presentable code base that would serve this purpose well. But more than that, I think the main barrier to this is just someone having the time / understanding / motivation to do it. So if you're most comfortable with Gilgalad, that would definitely get my vote. And maybe your write-up would inspire some other folks to do the same with their bots. (I'd love to do it for Diamond, it's just a matter of time / priorities.)

      Voidious16:04, 5 March 2013
       

      Sounds good to me.

      If you would like, I could check it for grammar and spelling mistakes.

        Sheldor17:05, 5 March 2013
         

        Well I'm not sure if some of them are the best idea. I know the current gun I use is pretty simple code wise (not even having any virtual guns, etc). But the movement is a bit of a mess. I was working on a new movement, but its nowhere near ready for something like this (but I am endevouring to keep it just as simple as the gun).

        I know Diamond is almost scary in its structure imho, but if it can be neatly explained then I am all for it.

          Chase17:16, 5 March 2013

          Lol, how is it scary? Just curious. :-)

            Voidious17:18, 5 March 2013
             

            I don't know. It just seems to be so large with such a unique structure. It is a bit intimidating.

              Chase17:59, 5 March 2013
               

              I would guess the code in XanderCat is quite a bit different from the code in most other robots. Though it uses a lot of the same concepts as other robots, the code is almost entirely home grown without using other robots as a reference.

              I wrote XanderCat on top of my own framework I call the Xander Framework, which I did create a wiki page on, but it doesn't get into specifics.

              I do include source with XanderCat if anyone ever wants to look at it.

                Skotty17:20, 5 March 2013
                 

                Well if we are going to do it, I think we should try and go K.I.S.S. with it as much as possible. A lot of structure is just going to confuse people who are not used to dealing with it. Of course a complete lack of structure is equally difficult.

                With all that said. I would say GresSuffurd is probably the best bet in that area.

                  Chase18:16, 5 March 2013
                   

                  I don't know, I think it depends on the goal. I like the idea of something like Melee Strategy/Understanding Coriantumr, with the insight and personal touch of an author writing about his own bot.

                  I certainly agree there's pros/cons to choosing a simplistic design (GresSuffurd) vs a typical / robust design (Gilgalad). And neither seems like a replacement for the generic "Robocode Guidebook" idea. My vote still goes for whatever choice is most likely to actually get written. :-)

                    Voidious18:27, 5 March 2013