Number Guess Challenge
You should have already completed the functionality that keeps the user from guessing outside of the appropriate range.
If you haven't, please finish that functionality.
In addition, complete the following:
- Change the color of the result message text as follows:
- If the guess is too high, RED
- If the guess is too low, BLUE
- If the guess is correct, GREEN
- If the guess is invalid, BLACK
- Add difficulty level to your game
- Prior to starting a game, user can select a difficulty level (make at least 3 levels)
- Use a dropdown or radio buttons for this functionality.
- Once the level has been chosen and a guess has been made, the difficulty level cannot be changed.
- The difficulty level chosen determines how many tries the user has before the lose condition.
The below can be used for reference, however please try to finish this without looking at my code :)
Number Guessing Game we did in class (Incomplete)
Number Guessing Game with difficulty level