CHALLENGES


  1. Modify the Guess a Number game by providing better clues as the player's guesses begin to get closer to the secret number. For example, you might add text that tells the player when they are getting "warm," "warmer," and "hot."

  2. Add logic to the game to display the average number of guesses that it takes the player to guess the secret number and display this information in the grpScore control (GroupBox).

  3. Modify the Guess a Number game so that the game ends if the player has not guessed the secret number after a certain number of tries and display the number of games lost in the grpScore control (GroupBox). Also, display the secret number in the txtOutput control (TextBox) when the player loses a game.




Microsoft Visual Basic 2005 Express Edition Programming for the Absolute Beginner
Microsoft Visual Basic 2005 Express Edition Programming for the Absolute Beginner
ISBN: 1592008143
EAN: 2147483647
Year: 2006
Pages: 126

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net