So for this assignment, I really like Professor Shiffman’s cannon p5 example:

https://editor.p5js.org/natureofcode/sketches/39hocOYUa

When I first saw it, it immediately reminded of the Angry Bird games:

image.png

Mainly due to the use of physics of the slingshot, and in Professor’s case, the cannon.

So I simply added to his original sketch to include a score counter, objects to be hit, and added more things to simulate physical properties:

https://editor.p5js.org/se2226/sketches/yVwx9h2pF