take guess input

input guess by enter or button
checks if is between 1 and 100