Objective

To practice functions, forms, and event handling.

Overview

For this project you will write a guessing number game. The program will generate a random value in a range of values specified by the user, and will process the user guesses. You do not need to provide pseudocode for this project, but you are encourage to develop it for your own benefit.

The following files are associated with this project: Proj4.zip.

Specifications

You must define a form with the text fields and buttons you can see in the Sample Run. The text areas will allow the user to specify the upper and lower limits associated with the range of values from which your program will select a random value. The "PlayGame" button will start the game (your program will choose a random value and start asking the user for guesses). The "ResetValues" button will restore the default values associated with the limits. The following provides additional information regarding the functionality of the program.

Requirements

Sample Run

The game video illustrates the functionality associated with the program.