Robo Home | Chase-san | Changes | Preferences | AllPages

I have a question, which of the Map functions (HashMap?, TreeMap?, Hashtable, etc) is the quickest? Reason being is I need one to allow individual expanding statbuffers. --Chase-san

Well in the end I decided to make the Map stored in the StatBuffer? a TreeMap? as to keep the order, because the segmentIndex I use, is just a array of doubles (double[]), and so the chaotic nature of a HashMap? made them arrange wrong for reindexing, for the rest I use a basic Map, with the initializer being a HashMap?. --Chase-san

HashMap? is probably the fastest, but in my opinion it's less convenient if the key type isn't a built-in Java type (like a primitive or built in class that defines equals() and hashCode()). Hashtable is similar to HashMap?, except that it handles synchronization/concurrency (so if you have to access it from multiple threads, it's safer), but with that comes some overhead. Both are asymptotically faster than TreeMap?, but probably use a little more memory. TreeMap? keeps things in order of their keys, and all you need is a comparison function (which can be built in using the Comparable interface, or can be passed into the TreeMap? as a Comparator). -- Kawigi

Well there is a number of bugs in my new setup, so unless I can sort out some of the bugs in it, its not gonna be moving any time soon. --Chase-san

I feel kinda dumb now, I used the same segment reference number twice, which lead to there being more buffers then segments in the TreeMap?. Which caused bugs, and to think I spent the last two days trying to track down the problem (abeit fixing alot of minor ones in the process). --Chase-san

Meh, my new system can't get above 70 vs DT no matter what segments I use (most my others get 80+), and it can't get above 55 vs CC, which means its neither a good standard or a good anti-surfer gun, which means i'm back.. no i'm far worse then where I started. --Chase-san

I'm kinda tired... I haven't been able to come up with a single solid idea for making Seraphim any better then she is now. Atleast not without any major revision (which I have attempted the last 4 times aswell). But I am a little tired of "rewriting" seraphim, not to say I haven't gotten better ideas because of it. I might attempt something later, but all I have right now is a idea on a better way of surfing multiple waves.

So i'm just gonna relax for a little longer and see if I get motivated enough to do anything (which means I probably won't make it into the 2000 club first between me, GrubbmGait and Krabb). --Chase-san

I'm spiritless too. A two week break might help :) --Krabb

I guess GrubbmGait will probably win the race between us three, but it might still be on between me and you, our bots are highly simular in score. --Chase-san

@Chase-san: There is something you can improve actually:

[chase.na.Seraphim 0.023]

You're doing worse against simpler bots. Targeting needs impovement ;) -- Nfwu

Actually I think its the movement thats failing against the simpler bots, it does rather well vs most GF guns. Though I admit the fact that it doing really well vs surfers was by pure accident, it was suppose to be a gun aimed to target simple bots, but somehow it destroys surfers dispite its HIGH surfing depth. --Chase-san

I feel old. I am not as logically minded as I thought. I now can understand alot more then when I started robocode, but I think anyone who was here when I started saw the large waterfall of questions on the most basic of systems. At 18 I figured I was pretty young, but looking at some of the younger coders here I just feel old and dumb. But then again I just started this, I am amazed at how much in the way of programming I didn't know before I started robocoding. In fact robocoding here on this wiki, has helped me develop in many areas rather quickly.

The ways that Robocode has helped me:


My server is down, so if any of you are having problems downloading my bots for battles thats why. I won't release bots unless thier on my webspace, for personal reasons. --Chase-san

Sorry i'v been kinda, MIA lately, I had to wipe my Hdd, I decided to install Windows 2000, instead of XP again. I managed to save all my robots, but not Eclipse, so I'll get back to this in awhile after I reget Eclipse. On the up side, I'm getting DSL at the latest Tuesday. --Chase-san

Got it, have had it, love it. I have an Creative Writing assignment that needs be done this weekend, however if I finish that early I might get back into the swing of things. Otherwise probably the end of next week. --Chase-san

I am changing my status to "semi-active". It has been apparent for while, but I wanna make it official, I'll poke around the site but i'm unlikely to be developing bots for awhile. --Chase-san

Seems my system had forgotten my preferences, fixed however. --Chase-san

I just checked the robocode yahoogroups and noticed that you were there too...Btw, when will you start making bots again? --Starrynte

Making bots again, Well... Generally got bored with what i'm generally okay woth (surfer/gfgun) mixes, and Seraphim's best v code is missing. And my attemps at code shrinkage, doesn't do to hot, and my melee is horrible. I suppose whenever I get back into the mood of fiddling with a meleebot. --Chase-san

In other news, i'm heading up to college on Saturday, which as I understand it is rather nearby where Simonton lives. --Chase-san

Hey Chase, where's all the source for your bots? I wanted to check out Seraphim ... can you send it my way? -- Simonton

I just did a 75 round RulesP90 with Shadow vs Dookious, and well, Shadow seems to shoot streams which are impossible to dodge and Dookious fires things all broken up which at the very least can be dodged. Could it be ABC planned for this style of play? Anyway here are the results. The cooldown was 1.0:

abc.Shadow 3.75a	6614	2200	440	3469	506	0	0	44	31	0
voidious.Dookious 1.573	3473	1550	310	1447	166	0	0	31	44	0

I don't have any specific code for this style of play, if that's what you mean. I remember making some tests with it a long time ago, it's cool to watch those brutal battles. I'm glad that Shadow wins here too. :) -- ABC

Completely agree, its fun as all heck to watch the battles, a P90 Melee battle is crazy (I mean really). --Chase-san
Shadow aims once per shot, while Dookious aims continuously and only shoots when the gun is aimed correctly, so that makes sense. -- Voidious

The latest Shadow versions aim multiple times per shot, from (gunHeat <= gunCoolingRate?) until the gun is aligned with the latest prediction. That change gained me some good points in the rumble. The gain in precision is worth more than the loss in firing rate. -- ABC

If I disappear in the next few days do not be surprised, as the fan on my graphics card is dieing! Therefor very prone to overheating, therefore prone to burning out, therefore prone to leaving my system without a way to display graphics. Yay(<- sarcasim). --Chase-san

Seems no one took time to look, but I have solved the problem by duct-taping a old case fan to the removable side of my case, its aligned perpendicularly to the angle of the side, allowing it to blow air directly into the card's heatsink. This was my creative solution as a few other things I tried failed. --Chase-san

I have never asked this before here, but what do you, the other robocoders and developers here on the robowiki, think of me, in terms of personality and realtive skill reguarding well, robocode, java, and well generally, what are your opinions on me. Extreme Criticism is welcome. Do you see my name and think .o(oh that stupid git, eh, won't bother reading it, what does [blank] think.), if you feel that go ahead and tell me, I can't promise not to be offended by it, but I will promise not to tell you if I am (unless you request otherwise). --Chase-san

Email sent. -- Skilgannon

Thankyou for your honesty. --Chase-san

The short version is that you appear to be trying hard to get validation through your participation in Robocode. We all enjoy a genuine compliment, but fishing for them on the Internet is not a good way to go. My impression from the conversations we have had, on the wiki and IM, is that you view yourself as wildly proficient at everything computer related. As it turns out, I happen to be God of All There Is, but it is taking me some time to translate that into a competitive bot. This segues into another topic, that of using other people’s code in your bots. I don’t think I’ve ever given a compliment to Voidious. I know he’s worked hard for a long time and held the top of the Roborumble rankings for a long time. Truly, he’s earned some respect and produced some original work in his time .. but I’ll always think of him as the guy who started with someone else’s bot and tweaked it. A passage from Jurassic Park often comes to mind: “They stood on the backs of geniuses.. and took the next step. They didn’t earn the knowledge themselves..”. I didn’t mean to take a pot shot at Voidous or even to insult the open source crowd in general, but I think it is relevant because I, personally, just don’t have the same respect for people who delve into code of their opponents rather than building something original. Well, it turns out it’s the long version afterall. - Martin

As a continuation of your comment/tirade against open-source bots, here's my stance: My aim is to further research into the capabilities of Robocode bots. I do not think I have the smarts to be able to, independently, think up what the entire community has come up with together over the course of several years. So here's what I do: I attempt to understand the purpose of the algorithms in other bots. I do not copy across code, unless the function has been published as a utility, such as Simonton's KD-Tree. If I don't understand the algorithm, I try to understand what it's meant to be doing, and then figure out my own way of doing it. Regardless, I come up with a different implementation. DrussGT might originally be based off of BasicSurfer, but the shared code between BasicSurfer and DrussGT is probably about 300 codesize bytes. DrussGT weighs in at over 14000 bytes. It's the same with my code: If you want to use it, I'm not going to stop you. However, I would prefer that you understand what every step of the code does, otherwise you'll never be able to improve on it. -- Skilgannon

Guys, please don't go that way. I consider everyone I ever met in this community a friend. Not exactly like a real life friend, but we all share a passion (obsession), and, after some time, we get to know a bit about each other, virtues and flaws, like every other human being. Some of us like to explore different things, some like to test the limits of established technics, some take pleasure from "small" achievements, others are only satisfied with the top spot. Not giving props to someone like Voidious is plain wrong, though. He, like others before him (people like Skilgannon ;)), is the kind of person that absorbs knowledge in record time, expands on it, perfects it like no other, and beats the established masters (old farts) at their own game. A deserving long lasting King. If you don't think so, prove it by beating him, not finding excuses for why he is #1 and you're not. Anyway, what we need is the rumble back, asap, this kind of discussions are pointless. -- ABC

Well generally speaking I wanted to know how people thought of me, so I could either change it for the better or so on, I will make no excuses, but I know from personal recounts with others I can be very abrasive with others. But also interested in where people saw me in the big scheme of the programming/robocoding I do. In fact I only started looking at others code after I made my first gf gun (after much talking through it with Voidious), because frankly I didn't understand the way PEZ had done it, at the time I was very new to Java, also some of my bots like Pytko and its pattern matcher, I have never looked at code to create, and I have a few others. But really yes, it varies. I think that Voidious, ABC, Skilgannon, Paul, PEZ, Jamougha, David Alves (can't forget him), Kev, Corbos, and all those others who have taken the day by storm or grabbed the crown for themselves at some point are just plain and simply Elite, and deserve any props I can give them, I don't even rate my self as an Ace or a Adept, frankly i'm surprised I got as far as I have. Really aside from other projects, I have stuck to robocode longer then most things, not sure why. --Chase-san

Robo Home | Chase-san | Changes | Preferences | AllPages
Edit text of this page | View other revisions
Last edited April 5, 2008 15:40 EST by Chase-san (diff)