Use your left and right arrow keys to line up the ball and the space bar to shoot your golf ball into the hole. Purpose: Experiment with actions that occur when a certain condition is true.