In the previous chapter, we learned about adding user interface elements to our game. We added a hit points representation above our ships, added buttons, and even created our own dialog.
In this chapter, we will add artificial intelligence to our game. The following are the topics we will cover:
However, before we get to the actual coding, let's see the concepts of artificial intelligence that we will implement.
The goal for the enemy ships is to move around and attack our ships if they get close enough. There ...