Results 1 to 2 of 2

Thread: Help!!!!!!!!!

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    10

    Help!!!!!!!!!

    Hey,
    im pretty new at VB and i need a hand with coding for an assignment im stuck on. what would people suggest?

    the requirements for the coding is below.

    |
    v


    Option 1 : Guess the Number Game

    The computer will guess a whole number between 1 and one of the following numbers : 100 or 1000 or 10000 (the 3 levels of difficulty). When the user enters a number the computer will respond whether the number entered is “Too High”, “Too Low” or “Correct”. The program will continue until the user guesses the number correctly. A number entered outside the selected range will be checked and not accepted by the program.

    The program will keep a count of how many guesses the user takes to guess the number and at the end of the program will display a “Certificate” detailing the user’s name, level chosen, the number chosen by the computer, the number of guesses taken by the user and a response based on the following rules:


    Maximum Number Chosen
    Program’s response after the correct guess is entered

    100 3 or less guesses Marvellous, User’s name
    4 – 7 guesses Quite good, User’s name
    More than 7 guesses Keep trying, User’s name

    1000 5 or less guesses Great work, User’s name
    6 – 10 guesses Adequate, User’s name
    More than 10 guesses Shabby, User’s name

    10000 7 or less guesses Out of this world, User’s name
    8 – 14 guesses Pretty good, User’s name
    More than 14 guesses Oh NO, User’s name

  2. #2
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: Help!!!!!!!!!

    You have attempted this first of all haven't you? If so show some code please. I have attached a file with a basic example but it does not include difficulties or it does not keep count of guesses. I will complete it if i see some sort of attempt at this assignment you have been given. And that attempt should not look exactly like the code i have attached.
    Attached Files Attached Files
    Last edited by Paul M; May 1st, 2007 at 03:01 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width