well you just click the flag then click your difficulty level and type your number in when it asks you for it you have a certain number of guesses and when you reach that number you lose.
this is the best game i ever created in scratch so far i have a lot more to learn though programming is the best.