In the game point with your mouse and press space. Try to make a basket. Press retry to play again.
I made this using a video from "Coding with Chris". I made the ball not change locations, but the hoop change locations instead. I drew the hoop differently, and I added the retry button and put a different background.