accepts user input when button is clicked
submit guess when user clicks button or presses enter
checks if guess is a number between 0 and max
compares valid guess to number and displays results
error message goes away if next guess is valid
show and hide error message and new game button
disable input box when game is over
re-enable input when new game is started