Number guessing logic. | ScratchStats