Kids and teens can learn to program using Scratch, the free online tool from MIT. In this video, a basketball game is made. The player tosses basketballs into the hoop as it moves around the screen.
Each step from start to finish is explained. Once you learn how to make this program, you can move on to other tutorials or create your own games.