Index Check and Correct Character Display in a Console Hangman Game for Java
- by Jen
I have this problem wherein, I can not display the correct characters given by the character. Here's what I meant:
String words, in;
String replaced_words;
Scanner s = new Scanner (System.in);
System.out.println("Enter a line of words basing on an event, verse, place or a name of a person.");
words = s.nextLine();
…