The sprite will ask you what is the number and you have to guess between 1 and 20 and you have 5 attempts it will say higher or lower. And when you guess it, it will say bingo!!!! Note it will just stop when you have run out of attempts!
Got the idea from a coding book. Its called coding for beginners using scratch!