No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
It is still a little scattered, but when debugging I can pick a letter, but it does not compare it to the wordArray/wordBank. So I am not able to "pick a letter" and it replace the * with the correct letter picked. I can't seem to figure out the code … |
|
After debugging, I find myself in a "loop" of sorts. The program is not recognizing the letters in the gameWord enough, to compare to the letters inputed. Could someone please tell me what I've done wrong. Thanks. using System; namespace Hangman { class Program { const string letters = "abcdefghijklmnopqrstuvwxyz"; … |
|
I have come across an error code, after building during debug, it shows: System.NullReferenceException was unhandled HResult=-2147467261 Message=Object reference not set to an instance of an object. This problem is located at the end of the program, on the else if statement. Any suggestions as to how I could easily … |