Press space to shoot the ball in the hoop and try and get as many points as u can! Use the left and right arrow keys to move from side to side, you can also jump using the up arrow.
AlSweigart's youtube tutorial helped me thnx!