The algorithm is contained within the apple sprite. More specifically, the one I want to identify is in the code segment that is farthest down when you hit "see inside". This algorithm starts with "when the flag is clicked", and ends with "delete this clone". It is giving the command to execute the actions below once the flag is clicked. Once the actions are completed, the clone is deleted. In between, I also have two sub-algorithms. The first one is the "create clone" command, which generates many apples falling at the same time in order to make the game more interactive. The second is the command that gives instructions on what to do if the apple touches the bowl.