“If you do it right, it will last forever”
Massimo Vignelli
The good news is that we are near the end. The slightly bad news is that there will be a fair bit of coding in this chapter. So what will we see at the end of this chapter?
The gun will be able to fire on zombies.
The zombies will register the hits. If the maximum number of hits is reached, a zombie will turn into a bubble.
The bubble zombie will fly away into the distance.
We need to keep track of the number of times the gun has been fired, and require the user to reload when the maximum has been reached.
Finally, if a ...