Need help building: guess the number

Hey Guys,
I am not able to make the guess the number project so pls you can send me your projects for reference and also the solutions.

What have you tried so far?

Also, in future don’t post your query in the Topic Title.