14. Explosions
Let's make the enemies explode when they are destroyed.
Explosions are different from enemies or bullets so we need a table to track them. Put this in _init.
Right above the fire function, add the explode function.
In update_game, put this explosions loop right before the loop over the enemies.
In the bullets loop of update_game, add a call to explode.
In draw_game, add a loop to draw all of the explosions.
In the video, the score flashes during the explosion animation. The code to flash the score is not in the video. Part of it belongs in the snippet we just entered.
For now, this is an exercise for the reader to add.
Hit ctrl-r to run the game. Fire bullets with X. Whenever an enemy is
destroyed, an expanding, flashing circle should be displayed for about half a
second before it disappears.
