A number guessing game that generate a number between the range of 1 and 2. The game prompt users for their username.
It set range as function parameter and prompt the player to predict the generated number between the given range. At a correct guess, the game awards the player a point and move them to stage 2 by increasing the range limit value by 1, e.g. range is from 1 and 3 for stage 2 and so on.
Open the index.html on your browser
Choose your Username and click on the " proceed" button
start playing the game by guessingg a number between 1 or 2