Webpage version of a number guessing game