i think i see what you are getting at because have the recall of my hidden word in the while loop so it goes everytime
Type: Posts; User: devindadude
i think i see what you are getting at because have the recall of my hidden word in the while loop so it goes everytime
i wrote the code and the method for the String buffer is this
<public StringBuffer choseWord(String s){ // method that makes the string dashes
hideWord = new StringBuffer(s.length());...
The nested statements are indented it is just the way the code was copied into thread.
Im guessing it does this in the loop some how when i do the guesses one by one, im just not understanding...
I dont know if you have tried to compile it or not but it happens when i compile the code. After i enter in my first guess it adds more dashes to word even though it stays the same, thus not allowing...
It is like hangman just a word guessing game with unlimited tries until you get the word right. The word is chosen from my arraylist of words and disguised by dashes.
When i run the program...
My code is not updating write after i enter a guess can someone help me out i cant think of what would be wrong
This is my hangman class
import java.util.*;
import java.io.*;
public...