Adding progression to our game
Now that our AI is implemented, let's add some progression to our game. We will need to add levels. Each level should have one more enemy ship, and we can upgrade the damage and hit points of our ship in between the levels.
Adding a World class
We need to keep some values, such as the current level, in a separate entity, which we will describe as a World
class.