I am trying to create a simple hangman game with the word "ROBOT". I'm still an early beginner, so I am trying to hardcode it. The problem that I am running into, is that the guess checking section:
It doesn't register the correct letter as being correct. No matter what I put, it results in "Incorrect! Please Try again." and a lose of a try, even if it is one of the correct answers.
your problem is your hardcoding it. what you want is to have a list a words either hardcoded into an array or get it off a list. and then get the size of the word, and put out that many *'s. then in a while loop get input see if the letter the user said is in the word, if it is, replace each star that the letters at. if not do what ever you want to do for them getting it wrong.