Classwork 7 2/7/06
Continue making enhancements to pong, building on the version you worked
on last class.
Work on the following changes (suggested in the former pong assignment).
- Using General Path, change the ball to a 5-pointed star. Try to make
it reasonably regular, but you don't have to use trigonometry to get
all of the angles, etc. exactly right. (You make it look good by eye.)
Use the class YourSprite as a starting point.
- Define the shape of one or both of the paddles using Constructive
Area Geometry. They should have shapes that are fancier than just
a rectangle but still seem more-or-less functional as a paddle.
Create another class for this, starting with a copy of YourSprite.
Name it, say, MySprite.
- Extra: Have the left paddle have a "hole" in it big enough
for the ball to pass through. Check out that this works.
Note: the lectures entitled Graphics have both a Constructive
Area Geometry and a General Path example for creating sprites.