Simple academic side scrolling game

Hello to all. I am a beginner with c++ and OpenFrameworks. I have to do a small task for school. I was thinking of creating a simple game similar to the offline google dinosaur. Instead of the dinosaur, a ball that has to jump the boxes.
Can someone help me?