Project 4 - Browser Game
Due 10pm Tuesday June 3

We'll make a browser game in this assignment. You can start with the example code above. Any game with a bouncing ball in it is fine. Click on the canvas to see the paddle light up.

Quality of your game will be a factor in your grade; anything that could be reasonably called a game is worth a B, and something fun or pretty or otherwise interesting is worth an A.

Notice that both the ball and the paddle are defined as objects. The ball stores its position and direction, and the paddle remembers whether it is hot - or not! Try to keep the object-oriented paradigm going as you expand the code; if the paddle starts moving, for instance, have it remember its position.

References: