Using Artificial Intelligence in Game Development