Book Image

Scratch 2.0 Beginner's Guide: Second Edition

By : Michael Badger
Book Image

Scratch 2.0 Beginner's Guide: Second Edition

By: Michael Badger

Overview of this book

Table of Contents (18 chapters)
Scratch 2.0 Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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.