HTML and CSS Reference
Listing 7.24. game.js—UFO shooting AI
Try it out!
You've completed your UFO flock, thereby successfully creating SVG Aliens. When you
run the game, it should look similar to figure 7.11 . Because you've worked a bit with
SVG and understand its basic concepts, we'll compare and contrast it against Canvas (from