Hello.

13 February 2006

AI class-second assignment

The second assignment for my AI class was due, and so like a good child I am posting my results here. It was due this morning at 8:00AM, it got turned in (and caused me to miss a bus) at 8:03AM, due to the fact while I finished it last night and went to bed at a reasonable time (unlike before), I had forgotten to complete a report that was supposed to go with it. So at 7:00AM I was struggling to get the report written nicely, which it wasn't.

The second assignment was to rewrite the code, yet "make it more general". With the exception of that there would not be obstacles, my code was pretty general to begin with. I rewrote it from being procedural to being event based, although I really didn't take advantage of any of the event based code, e.g. spotting an item and picking it up. I did want to make it so that if it detected a player in the way it would pull out its guns and start firing, but I think I found a fatal flaw in the quagents API (no ability to shoot).

So although I doubt it is any more interesting to the outside world than the last one, I have made available the code.

03 February 2006

I have to take a "programming" class

So instead of taking intro to Java to fulfill my computer class requirement, I'm taking "Artificial Intelligence as learned by making bots for Quake 2". And yes, it's fun.

Our first assignment was to be able to walk around an empty room. Not too hard, a good first exercise, though I don't really know Java at all (I was asking people whether I should use regular expressions to parse the output of quakebots, or is there anything else?). If you're interested in making your own quakebots, you should look at the quagents website, and if you're interested in the quakebot I made for homework, I can offer my files.



quake pic