The lecturer in charge of acceptance testing has enjoyed using your initial implementation, but has grown nostalgic for the days of his youth, when the Atari was the premiere gaming platform. He wants to be able to create and play boards similar to the games of old, such as Pong and Arkanoid . Paddles A paddle is a bumper gizmo, shaped somewhat like a flipper, which moves translationally back and forth within some fixed rectangular area. A paddle is shaped like a rectangle, but may have tapered or rounded edges. Paddles are either horizontal paddles or vertical paddles .
Horizontal paddles have a bounding box which is wider than it is tall.
Vertical paddles have a bounding box which is taller than it is wide. A paddle, like a bumper, generates a trigger when it is hit by the ball. However, the paddle supports multiple actions which can be triggered. If the paddle was already moving in that direction, no further change takes place. If the paddle was already moving in that direction, no further change takes place.