Thursday, October 28, 2010

Hangman in VB, how does it know how many underscores to put in?

VB express 2008, so far have got it to read the hint and word from file and have buttons for each letter, ATM my word to be guessed just goes into the place where i want the underscores, should the word just be stored? How would i do the underscores?



Help greatly appreciated.Hangman in VB, how does it know how many underscores to put in?
Generally, you display a string of underscores the same size as the word to be guessed. As each letter is correctly guessed, replace the respective underscores with the letter.



Hope that helps.

No comments:

Post a Comment