The game you're thinking of is actually called "Grow Ornament." To beat it, click the items in this order: the present, the heart, the cloud, the lights, the ribbon, and finally the star.