Jump to content

Random Number Guessing Game

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
sunyboy

sunyboy

    Newbie

  • Members
  • Pip
  • 2 posts
please help me!!!!


Outline of Problem:

The majority of applications now have menu-driven Graphical User Interfaces (GUI). Such applications are event driven, with mouse-clicks and user entered data being the main triggering events for their functionality. Visual Basic was designed to make the development of such applications easier than developing them using the windows libraries and languages such as C++. In this coursework, you are required to develop a number guessing application using the game logic requirements set out below. It is to be menu-driven to initiate new games.

Menu:
File:
Exit: Exits Application
Game:
Start new game: Starts a new game
Give me the number: Ends the current game giving the user the game number
Help:
Instructions: Gives the user instructions on how to play the game
About: Gives the Name and Person I.D. of the developer along with an appropriate made-up ‘Software Development Company’ name.

Game Logic:

When the user chooses to ‘Start new game’, the logic should generate a random integer number between (and inclusive of) 1 and 100. It is this number that the user has to guess. They do so by entering a number using the keyboard number keys directly into a text input control that accepts up to a 3 digit number (100 max) and only digit-based characters allowed. The text input control should not allow any incorrect data to be entered. When they click a ‘check me’ command button control, the program will tell the user if they have:

1. Guessed correctly
2. Guessed too high
3. Guessed too low

The user should be able to start a new game at any time or even ask the application to reveal the number via the ‘Give me the number’ menu option. If the user guesses correctly, or if they choose the ‘Give me the number’ menu

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
What, exactly, do you need help with? There are a lot of different areas where you might be stuck.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
syntaxError

syntaxError

    Newbie

  • Members
  • Pip
  • 9 posts
you can start by creating the windows form, the MenuStrip and adding all the File, Exit etc.. and start to write command for each handler to accomplish the task little by little. I'm a beginner too so share your code to show some effort and I can help you.

#4
LCD

LCD

    Newbie

  • Members
  • PipPip
  • 15 posts
nice game..