A review of possible roles of artificial intelligence in games, and most common methods used by the creators of the games.