In this recitation, I went to Tristan’s workshop about object oriented programming in order to consolidate the knowledge points that I learned in class. Since we are making a game for the final project, we are likely to apply a lot of functions and OOP can help organize them.
For the exercise, I made a simple interactive program that generates colourful bouncing balls every time the mouse is clicked.
code:
video: