EMERGENCY! Number Guessing Game

Hey, I'm new in C#, I am trying write a program about number guessing...
I start to design, and writing code, but I need your help some point.

The program generating a number with random()...

But the user could determine how many digit include the number... ( 3-9 )(COMBO BOX)... and how many chance to find the number ( max. 15 chance)(TEXT BOX), and the user could determine, the number of digit will be repeat or not... ( if user choose "dont repeat" the number must include different digit like: 123456, if user choose "repeatable" the number can be 445666... etc. (RADIO BUTTON)

After this choice the game opening...

And the user write his guess in to theTEXTBOX... And we must compare this digit by digit. Because we will give a hint about the number, like "how many digit's place is true, and how many digits are existing in the number which one the user trying to found...

I hope U can understand something...

f u have any question, ask it...

 

peaceforce18@hotmail.com  I am waitin for your help...

 




Answer this question

EMERGENCY! Number Guessing Game

  • Miguel J

    Hi

    I think this might help

  • spano

    I can only think of two reasons for this to be an emergency

    1. there's a market for number guessing games that I'm blissfully unaware of

    2. this is your homework

    If 1, then I guess I miss out on being rich yet again

    If 2, then you really should be posting some code so that it's obvious you're trying to do your homework, and not just hoping someone will do it for you.

    Which bit are you stuck on If you turn your numbers into strings with ToString, you can step over the numbers characters using array indexers, and count how many are correct.



  • david Laub

    This is emergency because I need to jump this obstacle for trying to do better project. I am trying to find a way to do this about one week, but I couldnt. I said I am new in C#. I am not a student so this is not a homework. I find this game in web site, so I am trying to do this game. If u want to see the game I can give the adress...

    I have a big problem about comparing the numbers... I try to use array but they didnt work... What should I do



  • tamri

    // What should I do

    Post your code. Even if it's not homework, people will be quicker to help, and it will be easier to help, if you post some code and explain what you hoped it would do, and what it actually did.

    IMO, if you're new to C#, you should buy a book like 'Inside C#', and learn by learning the language, with programs that use the console and not a GUI.



  • trimbo

    Hi Lacia

    I think it would help to read all your number to an ArrayList to compare the one entered by the user and the position combobox.selectedindex in any case are you stuck somewhere.

    Do you have MSN Messanger if you do Ill be waiting to here your concerns

    sibu.khanyile@enerserv.co.za



  • EMERGENCY! Number Guessing Game