Earn points by hitting dragonflies. The flowers will bounce off the bricks. Click the mouse to fire flowers and move the mouse to change direction of the flowers.
Program2Play
Directions: (not necessarily in this order)
Use the array of Flower objects called, flowerList to access specific values to draw and move the flowers.
Define a function to animate the movement of flowers as shown in the sample game. Check each flower in the array to determine if it has collided with the bricks by checking each set of bricks stored in the array, wallList. You may use the hitTestObject function to do this.
Set interval to call the above function periodically.