At the heart of most RPG-style games are the bad guys. How they think and how they confront and challenge you will mark your game as either too hard or too easy. Sadly, there isn't any real middle ground (you can't please everyone all the time). However, we can ensure a fair system and engage the players with systems that will surprise and entertain them as they move around in the big bad world.
The following topics will be covered in this chapter:
Planning for event systems
State machines
Basic AI techniques