Keeping the score using cloud variables
We'll wrap this chapter up with a small script to assign the player's score to a high score variable that we will store in the cloud. Consider this a value-added feature because you could stop right now and have a fully functional game. Depending on your privacy concerns, you may not wish to record information to the cloud, which will include the user name, score, and access time. The cloud refers to storing information on an internet-based server, which is hosted by the Scratch Team in this case.