CHAPTER 4

AI Interlude

States

In Artificial Intelligence research, an important notion is that of a state—a non-empty set of discrete variable/value pairs. States can be used to describe quite a variety of things, including, oh, games you can play on computers.

Here’s an example of a game you can also play off computers:

9781484217801_unFig04-01.jpg

The state here is as follows:

  • WK/h8
  • BK/a6
  • WP/c6
  • BP/h5
  • Turn/white

This state tells you all you need to know about the game. You could write it down on a piece of paper, and someone could reconstruct it exactly as it was 100 years later. OK, so they wouldn’t know what was going on in the players’ heads, but they’d know how things stood ...

Get MMOs from the Outside In: The Massively-Multiplayer Online Role-Playing Games of Psychology, Law, Government, and Real Life now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.