Type the number you want to guess. It's 1-10 and you get five tries.
If you want to make this and many other things, get the book, Coding for Beginners Using Scratch from Usborne.