This is a simple program to demonstrate how to build a basic Scratch game with multiple sprites, scoring, and tracking health. Use the left and right arrow to pick up as many gifts as you can while avoiding the bat.
Note that we use messages to communicate between sprites. We also use two variables, one to track the score, the other to track remaining lives. The end game messages are also sprites, but you can use custom backdrops for this too.