JavaScript EditorFree JavaScript Editor     Ajax Editor 



Main Page
  Previous Section Next Section

Artificial Intelligence Primer

Artificial intelligence, in the most academic sense of the phrase, has come to mean a piece of hardware or software that enables a computer to "think" or process information in a fashion somewhat similar to our own.

Applications in AI just started to surface a few years ago, but today AI and other related fields, such as a-life (artificial life) and intelligent agents, are maturing at an exponential rate. In fact, that little MS Word paper clip agent keeps annoying me as I write this sentence!

Today, systems exist that are "alive," as far as anyone can define life. A number of companies have created artificial lifeforms within the virtual domain of the computer that live, die, explore, get sick, reproduce, evolve, get depressed, get hungry, and so on.

This kind of technology has been made possible with artificial neural networks, genetic algorithms, and fuzzy logic. Neural networks are crude approximations of a human brain, and genetic algorithms are a set of techniques and suppositions used for the evolution of software systems based on biological paradigms. Fuzzy logic is set theory based on non-crisp suppositions, like "It's sort of hot out."

Sound far out? It is. But it's real, and it's only going to get better. Remember, cloning used to be science fiction, but now it's science fact.

Coming back down to Earth, you aren't going to create anything as complex as state-of-the-art AI for your games. Instead, you're going to look at the most simplistic and fundamental techniques that game programmers use to create intelligent creatures—or at least creatures that seem intelligent. In fact, many game programmers are still very behind on AI and haven't begun to really embrace all that's available in the field. I suspect that AI and related technologies are going to make the same kind of impact on the gaming world that the DOOM graphics technology made many years ago.

Truthfully, 3D graphics are starting to slow down. Things are looking pretty real these days, but they still act pretty dumb. The next killer game is going to look good, but more importantly, it's going to be as cunning and devious as the best of us.

Finally, as you read the following pages and experiment with the accompanying programs, remember that all these techniques are just that—techniques. There isn't a right way or a wrong way, just a way that works. If the computer-operated tank can kick your butt, that's all you need. If it can't, you need to do more.

Regardless of how primitive the underlying AI techniques are, the human players will always project personalities onto their virtual opponents. This is key—the player will believe that the objects in the game really are plotting, planning, and thinking, as long as they look like they are…Get it?

      Previous Section Next Section
    



    JavaScript EditorAjax Editor     JavaScript Editor