This is my school project, but obviously much improved because I had more than 10 minutes.
Instead of 2 separate sprites, I made the ball bounce depending on the colour instead.