Let's introduce a DIFFICULTY variable responsible for the game's difficulty, specifically the probability that an enemy ship will fire in a step of the game.
All ships should be able to fire, so we'll add a fire method to the Ship class.
We won't create any instances of this class, so this method w
Space Invaders (Part 13/34)
- 3
Locked
Comments
- Popular
- New
- Old
You must be signed in to leave a comment
This page doesn't have any comments yet