Being a software developer for many years (20+ now) I have always marveled at game development. I love computer games and I can say that my love of them in the late 70's and early 80's is what drove me into my profession. Although I have never worked in a game company my career has always been in microcomputer and then quickly PC platform once it was out. This allow me to learn many things at home and provided a platform in which I was able to write very simplistic games back in the day.
In playing around with game development, as crude as it was, I enjoyed every aspect of it and was actually able to use some of the high school math of which I said I would have no use. One area that has always intrigued me was in the area of AI and game AI. In college, one of the simple AI programs I had to develop determined what item a user was thinking off (think the 20 questions game) and if it could not guess it then asked the user about the item and learn it.
Then there is game AI. I am not talking about logic to control a space ship flying around and being able to hunt you down and shoot you dead but the AI of the type that you see in RTS and even more so TBS type of games. A long time ago programmers would struggle over writing the best chess algorithm. While that horse has been beaten to death a hundred times over I tend to think that a AI for a complex TBS game would be a much more challenging thing to create. Case in point, GalCiv2. GalCiv2 is considered by many to have one of the best AI’s for a game of its’ type. Many variables come into play with a game like this. Writing an AI for it would be challenging, especially a good AI. Most other games of this type try to simulate intelligence by giving the computer AI a handicap. GalCiv2 does not do that, at least not until the highest levels of intelligence setting. Indeed, many of the lower settings actually dumb down AI. There is a mid level (I cannot recall which one it is now, I think it has changed as the game has evolved) in which the AI is not given any cheats and all of its’ mind (algorithms) are in play. I find this rather fascinating.
One of the things I would like to know about the GalCiv2 AI is whether it develops a strategy and marches towards that goal from turn to turn, call it goal seeking. Or, does it simply re-evaluate the game situation every turn and hopefully come to the same conclusion as to what action to take this turn as it did the previous turn? I would like to see a article or post from Brad (frogboy, etc) that gave a high level overview of how his AI works. I certainly am not asking for the keys to the kingdom here, I would not want that. Rather, just a little insight into how he developed this AI and how it evaluates its’ position and determine course of action from turn to turn. That would be cool.
*** Note: moved to GalCiv Dev Journals in hopes the Mr. Frogboy will comment.