Kids and teens can learn to program using Scratch, the free online tool from MIT. In this video, a Shell game or 3-card monty game is made. Follow the cat that has the cheese puffs as they quickly swap order.
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.