Using Classes to Store Data =========================== Goals ----- - Create a Ball class to store x, y location and speed - Get ball to move - Create many balls Starter code ------------ - :doc:`pygame-template` Video Tutorial -------------- .. raw:: html What you need to do ------------------- 1. Add Y-Axis boundary check 2. Account for the radius (the circles get clipped) - Create a radius attribute in the Ball class - Randomize radius for each ball? Final Code ---------- .. literalinclude:: code/using_classes_to_store_data.py