Activity 3 - Change the key assignment to move left paddle

Activity 3

Kudos! You not only fixed the game boundary, but you are able to give color to objects too. Now, let’s see if you can change the keys for paddle movement.

To do this, we need to modify one of the parameters we passed in when creating the left paddle object. Remember from the basics section, you defined the Paddle class with UP and DOWN key assignments as its attributes.

Find // TODO (ACTIVITY 3) in the code. Modify the appropriate attribute value for the left paddle so that pressing the 's' key moves the left paddle down. Notice that currently the downward movement of the left paddle is controlled by the 't' key.

Try swapping the UP key with a different key. Press run to test your changes.

## Takeaway You have just modified `down_key` attribute in `Paddle` class to influence how the left paddle object should move on screen.