You have to jump over a basketball using the space key.
I was going off of the dinosaur game from google and thank you Alex for showing me how to make the cube disappear when is was hit by the basketball. Thanks https://www.pacdv.com/sounds/fart-sounds.html for the sound effect. Thanks Eric, for the high score code.