Extending the AI

There are many different ways to extend the AI that would be beyond the scope of this chapter. However, it would be great for you to experiment with ways to improve upon this logic and add your own behaviors. Maybe you want the AI to follow the player wherever it goes. Maybe when the player approaches too close, you want the AI to run away. Whatever it is, it's important for you to experiment with the various possibilities and expand upon the very simple AI coded in this chapter.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.23.214